Last active
May 8, 2023 12:21
-
-
Save Wanuja97/b24798769b8f0ec0a09929bf86c8f9b3 to your computer and use it in GitHub Desktop.
Send emails in nodejs express application - Part 01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const app = express(); | |
const port = 3001; | |
require('dotenv').config(); | |
app.use(express.json()); | |
app.post('/email',(req, res)=>{ | |
}) | |
app.listen(port, () => { | |
console.log(`Server listening on port ${port}`); | |
} | |
); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment