Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.39 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.39 KB

node-js-getting-started

a simple nodeJS API using restify and save.

This application support the Getting Started with Node on Heroku article - check it out.

Running Locally

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.

Deploying to Heroku

make sure to first run:

$ heroku login

then create the app on heroku and run it:

$ heroku create
$ git push heroku master
$ heroku open

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles: