Skip to content

aleicher/nodejs-rest-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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:

About

An example REST API in nodejs, using restify and save

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published