node-chat
node-chat copied to clipboard
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.
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