Skip to content
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
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
public
server
.gitignore
README.md
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.