Skip to content

Instantly share code, notes, and snippets.

@Wanuja97
Last active May 8, 2023 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wanuja97/b24798769b8f0ec0a09929bf86c8f9b3 to your computer and use it in GitHub Desktop.
Save Wanuja97/b24798769b8f0ec0a09929bf86c8f9b3 to your computer and use it in GitHub Desktop.
Send emails in nodejs express application - Part 01
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