All Projects → heroku → Node Js Sample

heroku / Node Js Sample

This repository is deprecated. Head over to https://github.com/heroku/node-js-getting-started

Programming Languages

javascript
184084 projects - #8 most used programming language

This repository is no longer maintained!

For the most up to date test app to get you started on Heroku, head on over to node-js-getting-started.


node-js-sample

A barebones Node.js app using Express 4.

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

git clone [email protected]:heroku/node-js-sample.git # or clone your own fork
cd node-js-sample
npm install
npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

heroku create
git push heroku master
heroku open

Alternatively, you can deploy your own copy of the app using the web-based flow:

Deploy to Heroku

Documentation

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].