- node.js as web server
- express.js (web framework)
- everyauth.js for authentication
- redis server used for session store
- mongodb/mongoose.js datastore
- Jade a server side template engine
- underscore.js for client side templating
- backbone.js client side mvc
- jquery as ui event glue
- Install node.js
- Install mongodb
- Install redis-server Run
- Start the mongodaemon
$> mkdir data/db
$> mongod --dbpath data/db
- Run the server from the ccd directory
$> node app.js
If you have installed redis on another server, use the hostname of that server as a parameter
$> node app.js redis.domain.com
Node wont recompile code during runtime ans you have to restart node everytime code changed. You can work around this by starting the app with nodemon instead of node. Install nodemon globally.
$> npm install -g nodemon
$> nodemon app.js