Skip to content
A barebones Node.js app using the Express framework.
JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead, 3 commits behind heroku:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
.gitignore
Dockerfile
Jenkinsfile
Procfile
README.md
app.json
docker-compose.yml
index.js
package.json
rancher-compose.yml

README.md

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

You can’t perform that action at this time.