.onedev-buildspec.yml | Loading last commit info... | |
public | ||
views | ||
.env | ||
.gitignore | ||
Procfile | ||
README.md | ||
app.json | ||
index.js | ||
package.json | ||
test.js |
README.md
node-js-getting-started
A barebones Node.js app using Express 4.
This application supports the Getting Started on Heroku with Node.js article - check it out.
Running Locally
Make sure you have Node.js and the Heroku CLI installed.
$ git clone https://github.com/heroku/node-js-getting-started.git # or clone your own fork
$ cd node-js-getting-started
$ npm install
$ npm start
Your app should now be running on localhost:5000.
Deploying to Heroku
$ heroku create
$ git push heroku main
$ heroku open
or
Documentation
For more information about using Node.js on Heroku, see these Dev Center articles: