A backend Node.js app using Express 4.
Make sure you have Node.js and the Heroku Toolbelt installed.
$ git clone git@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.
$ heroku create
$ git push heroku master
$ heroku open
For more information about using Node.js on Heroku, see these Dev Center articles:
- Getting Started with Node.js on Heroku
- Heroku Node.js Support
- Node.js on Heroku
- Best Practices for Node.js Development
- Using WebSockets on Heroku with Node.js
- Index.js : Main code file handling the REST calls for authentication and making requests to the Twitter REST API
- makefile : Configures 'make test' command to run tests
- node_modules : Contains dependencies for the Flock backend
- package.json : Describes dependencies for the Flock backend
- test/flockBackendSpec.js : Unit tests for the Flock backend