This is a Node.js app to demo some possibilities. The app is based on the Express framework and makes use of socket.io, redis, jsdom and some other Node modules.
- Ensure Node and NPM are installed
sudo apt-get install nodejs npm
- Clone this repo (or fork it and clone your fork)
git clone git://github.com/myanimal/node-webapp.git
- Navigate to node-webapp directory and install dependencies
cd node-webapp
npm install -d
- Launch app
node app.js
- Test it in your borwser
- Visit http://localhost:1337/