Complete tutorial can be found at https://www.angularcode.com/simple-project-demonstrates-how-to-send-email-using-nodejs/
- Install NodeJS (nodejs.org)
- Create an account at sendgrid.com and generate the api key
- Download or clone this repo
- Open Command Prompt / Terminal and browse to the project folder
- Replace the API_KEY at index.js or create a .env file at root of the project and put SENDGRID_API_KEY=YOUR API KEY
- Run the following commands
npm i
npm start
This will start the application at port 8080 of localhost. Open your browser and point to localhost:8080