xixiaohui / node-js-getting-started

Getting Started with Node on Heroku

Home Page:https://devcenter.heroku.com/articles/getting-started-with-nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Deploy to Heroku

Documentation

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

About

Getting Started with Node on Heroku

https://devcenter.heroku.com/articles/getting-started-with-nodejs


Languages

Language:HTML 79.7%Language:JavaScript 13.4%Language:CSS 6.8%Language:Shell 0.1%