node-js-sample

This is a barebones Node.js app using the Express framework.

Running Locally

Asumming you have Node.js and Heroku Toolbelt installed on your machine:

git clone git@github.com:heroku/node-js-sample.git # or clone your own fork
cd node-js-sample
npm install
foreman start

Your app should now be running on localhost:5000.

Deploying to Heroku

heroku create
git push heroku master
heroku open

Documentation

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