It's RESTful API for sample comment board.
you need create your mongodb to store deta.
install node_modules
PROD_MONGODB : "mongodb://dbuser:dbpassword@ds131323.mlab.com:xxxxx/xxxxxxx"
npm start
GET http://localhost:3000/comments
POST http://localhost:3000/comments { name:xxx , time: yyyy/mm/dd-hour:min:sec, content: xxx }
DELETE http://localhost:3000/comments/:id
PUT http://localhost:3000/comments/:id { name:xxx or time: yyyy/mm/dd-hour:min:sec or content: xxx }
heroku login
git init
git add .
git commit -m "init node"
// create heroku repo
heroku create
// push remote
git push heroku master
heroku ps:scale web=1
heroku open