brew install node mongo
npm install grunt-cli -g
npm install
grunt serve
grunt test
curl --data "[email protected]&password=test" http://localhost:9000/signup
curl --data "[email protected]&password=test" http://localhost:9000/login
curl -H "Authorization: Bearer <yourbearertoken>" http://localhost:9000/posts
curl -H "Authorization: Bearer <yourbearertoken>" --data "name='I should print a boat'" http://localhost:9000/posts
curl -H "Authorization: Bearer <yourbearertoken>" https://nodejs-mongodb-api-example.herokuapp.com/posts
heroku config:set JWT_SECRET=verysecretstring AWS_ACCESS_KEY_ID=yourawsaccesskey AWS_SECRET_ACCESS_KEY=yourawssecretkey
git push heroku master