Skip to content

A simple integration with monday.com and sendgrid via an express server that sends a plain text email to a specified individual, wishing them a happy birthday.

Notifications You must be signed in to change notification settings

aalnussairi/monday.com-birthday-emailer-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monday.com Sendgrid Birthday Emailer

A simple integration with monday.com and sendgrid via an express server that sends a plain text email to a specified individual, wishing them a happy birthday.

This is the TypeScript implementation.

For the JavaScript Implementation, [click here] (TO BE UPDATED)

For the Serverless.js (AWS Lambda) Implementation, [click here] (TO BE UPDATED)

Installation Information

Clone this repository then in the project root directory install the project's dependencies using the following command npm install

Alternatively, you can run the following commands:

 npx degit https://github.com/aalnussairi/monday.com-birthday-emailer-ts/
 npm run install

Configuring the environment

  1. Rename the .env.example file to .env
  2. If you don't wish to run the server on port 8300, change the PORT environment varible to your preferred port and reflect those changes to the npm scripts provided
  3. Set the MONDAY_SIGNING_SECRET, this can be obtained by going to Developers -> [Your App Name] -> Basic Information. For more info refer to the docs
  4. Follow the SendGrid Guide to obtain an API key and set it as the SENDGRID_API_KEY environment variable
  5. Set the email you are using to send emails to the SENDGRID_FROM environment variable
  6. Set your name in the MY_NAME environment variable :)

Running the Server

To run the server, use the following command

npm start

To run the server while watching for changes, use the following command

npm run serve

To expose the server to the world using ngrok, use the folowing command

npm run expose

About

A simple integration with monday.com and sendgrid via an express server that sends a plain text email to a specified individual, wishing them a happy birthday.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published