Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s-matyukevich/famo-us-sample
https://github.com/s-matyukevich/famo-us-sample
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/s-matyukevich/famo-us-sample
- Owner: s-matyukevich
- Created: 2014-11-04T11:32:21.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-04T11:38:55.000Z (about 10 years ago)
- Last Synced: 2024-11-07T19:05:08.082Z (2 months ago)
- Language: JavaScript
- Size: 328 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-js-sample
A barebones Node.js app using [Express 4](http://expressjs.com/).
## Running Locally
Make sure you have [Node.js](http://nodejs.org/) and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed.
```sh
git clone [email protected]: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](http://localhost:5000/).
## Deploying to Heroku
```
heroku create
git push heroku master
heroku open
```Alternatively, you can deploy your own copy of the app using this experimental
web-based flow:[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
## Documentation
For more information about using Node.js on Heroku, see these Dev Center articles:
- [10 Habits of a Happy Node Hacker](https://blog.heroku.com/archives/2014/3/11/node-habits)
- [Getting Started with Node.js on Heroku](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)
- [Using WebSockets on Heroku with Node.js](https://devcenter.heroku.com/articles/node-websockets)