Classic chat (single page application) on nodejs with socket.io and mongodb (using backbone and underscore)
-
Supposed you've configured nodejs and mongodb
-
Clone this repo using command line
git clone https://github.com/terrasoff/node-classic-chat
- Go to project folder
cd node-classic-chat
- Install packages
sudo npm install
-
Make project setup using file settings.js
-
Create mongodb collections: users and messages
node app.js