Run the following commands in the terminal below:
cd ~/workspace/sendgridjs
- Run
cp .env-example .env
- In the
.env
file, replaceSENDGRID_USERNAME
to your Sendgrid Username - In the
.env
file, replaceSENDGRID_PASSWORD
to your Sendgrid Password - In the
.env
file, replaceFROM
to your email address - Run
npm install
- Run
node app.js
Click on the "Preview Menu" and then "Port 3000" to view your sendgridjs app!