Start on Heroku: Node.js

by wso2



A barebones Node.js app using Express 4.

Running Locally

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

$ git clone
$ cd cloud-heroku-samples
$ npm install express
$ node index.js

Your app should now be running on localhost:5000.

You can try in the browser http://localhost:5000/hello?name=john

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open


Deploy to Heroku


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