sendgrid-markdown-demo

0.0.1-1 • Public • Published

SendGrid Markdown Demo

This is a demo showing how simple it is to use SendGrid with Node.js. Using a simple static file server and websockets, this demo takes emails written in Markdown and sends them using the SendGrid mail API in real time.

Demo

Check out the live demo here:

http://sendgrid-markdown-demo.jit.su/

Install && Setup

This guide assumes you already have node and npm installed. If not, you should check out NVM which makes installing them super easy.

Step 1: Clone the repo

git clone git://github.com/theycallmeswift/SendGrid-Markdown-Demo.git
cd SendGrid-Markdown-Demo

Step 2: Install the dependencies

npm install

Step 3: Edit your SendGrid settings

Open up config.json in your favorite editor and fillout the settings.

{
  "fromAddress": "MarkdownDemo@sendgrid.com",
  "username": "your_sendgrid_username",
  "key": "your_sendgrid_key"
}

Step 4: Run locally

node server.js

Deploying

Nodejitsu

If you already have the jitsu package installed, then it's as simple as:

jitsu deploy

Readme

Keywords

none

Package Sidebar

Install

npm i sendgrid-markdown-demo

Weekly Downloads

4

Version

0.0.1-1

License

none

Last publish

Collaborators

  • theycallmeswift