This is very simple code that can be used to demonstrate the caveats and design issues associated with building real-time chat server that uses socket.io.
You will need to have node.js and npm installed.
Installing the demo
Once you have node.js and npm installed you can install the application's dependencies.
Running the demo
Once the demo app is installed, you can run the demo from the root directory. you may need to run this command as the super user.
sudo node server/server.js