a simple nodeJS API using restify and save.
This application support the Getting Started with Node on Heroku article - check it out.
Make sure you have Node.js and the Heroku Toolbelt installed.
$ git clone [email protected]:aleicher/nodejs-rest-api-example.git # or clone your own fork
$ cd nodejs-rest-api-example
$ npm install
$ npm start
Your app should now be running on localhost:5000.
make sure to first run:
$ heroku login
then create the app on heroku and run it:
$ heroku create
$ git push heroku master
$ heroku open
For more information about using Node.js on Heroku, see these Dev Center articles: