Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 717 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 717 Bytes

emails-api

Running Locally

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

heroku deployed api

API Requests

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