Make sure you have Node.js installed.
git clone git@github.com:leohige/emails-api.git # or clone your own fork
cd emails-api
npm install
node app.js
Get all emails
GET https://emails-api-v1.herokuapp.com/api/v1/emails/
Create email
POST https://emails-api-v1.herokuapp.com/api/v1/emails/
Get single email
GET https://emails-api-v1.herokuapp.com/api/v1/emails/:id
Update email
PUT https://emails-api-v1.herokuapp.com/api/v1/emails/:id
Remove email
DELETE https://emails-api-v1.herokuapp.com/api/v1/emails/:id