https://github.com/imhype/node-js-getting-started
https://github.com/imhype/node-js-getting-started
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/imhype/node-js-getting-started
- Owner: ImHype
- Created: 2020-11-25T04:18:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-26T04:20:12.000Z (over 4 years ago)
- Last Synced: 2025-01-24T11:32:29.535Z (4 months ago)
- Language: HTML
- Size: 251 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-js-getting-started
A barebones Node.js app using [Express 4](http://expressjs.com/).
This application supports the [Getting Started on Heroku with Node.js](https://devcenter.heroku.com/articles/getting-started-with-nodejs) article - check it out.
## Running Locally
Make sure you have [Node.js](http://nodejs.org/) and the [Heroku CLI](https://cli.heroku.com/) installed.
```sh
$ 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](http://localhost:5000/).
## Deploying to Heroku
```
$ heroku create
$ git push heroku main
$ heroku open
```
or[](https://heroku.com/deploy)
## Documentation
For more information about using Node.js on Heroku, see these Dev Center articles:
- [Getting Started on Heroku with Node.js](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
- [Heroku Node.js Support](https://devcenter.heroku.com/articles/nodejs-support)
- [Node.js on Heroku](https://devcenter.heroku.com/categories/nodejs)
- [Best Practices for Node.js Development](https://devcenter.heroku.com/articles/node-best-practices)
- [Using WebSockets on Heroku with Node.js](https://devcenter.heroku.com/articles/node-websockets)