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.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
server
.gitignore
README.md
npm-debug.log
package.json

README.md

Synopsis

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.

Prerequisites

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.

  npm install

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.

  node server/server.js
  sudo node server/server.js