Skip to content

Instantly share code, notes, and snippets.

@heitortsergent
Created February 26, 2015 22:04
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 heitortsergent/9f4b01c01ea8ce1d763f to your computer and use it in GitHub Desktop.
Save heitortsergent/9f4b01c01ea8ce1d763f to your computer and use it in GitHub Desktop.
Steps to run webhook demo
# 1. git clone the repository
$ git clone https://github.com/heitortsergent/gimmegif.git
# 2. grab your SendGrid credentials (or create an account first and grab them)
# 3. grab any other service credentials (Giphy's API key for example)
# 4. set up your environment variables (using something like dotenv)
$ echo SENDGRID_USERNAME=myusername
# 5. download ngrok
# 6. run ngrok
$ ngrok 3000
# 7. set up the webhook at SendGrid
# 8. run the demo
$ npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment