git clone https://github.com/abhagupta/chat-app-node.git
cd chat-app-node
npm install
CUSTOMCONNSTR_MONGOLAB_URI=<mongo connection url> // eg. CUSTOMCONNSTR_MONGOLAB_URI=mongodb://localhost:27017/sandbox-chat-box
PORT=<port number>
npm start
Browse to http://localhost:<port number>
. If no PORT is set, 8000 is default port.
- Signup user - with passport-local strategy
- Login user - with passport-local strategy
- Chat feature - with passport-socketio authentication
- Saving past messages (using mongo)
- Join and leave rooms
- Show users present in a room
- Socket io
- Passport for authentication
- Mongo db for data storage
- jquery for front end
Deployed Heroku app : https://multiroom-chat-app.herokuapp.com/