Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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
tree: 84b52877a9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
public
server
.gitignore
README.md
npm-debug.log
package.json

README.md

Synopsis

This is a 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
Something went wrong with that request. Please try again.