Not so simple chat application based on Socket.IO library.
Demo : 52.66.67.210
This chat application is based upon following component
1.Front End : HTML,CSS,JAVASCRIPT,JQUERY
2.Backend : Node.js,Express JS,MongoDB,Socket.IO
NodeJs
NPM
MongoDB.
Note: these instructions are for Ubuntu Linux based OS. Assuming nodejs, npm and mongodb is already installed.
Running Mongodb:
1). Open Terminal and change directory to where mongodb is installed in bin folder.
2). user@linux: ~/path/to/mongodb/bin $ ./mongod --dbpath ~/path/to/data/db
3). press Enter database server will start.
Unzipping and installing dependencies:
1). Unzip the downloaded file.
2). Open the extracted folder.
3). Right click somewhere in folder and select Open in Terminal.
4). Type Command : npm install and press enter. This will install all dependencies shown in package.json file.
Running project:
Step 1: Install all dependencies by using :~$npm install
Step 2: Run command to start nodejs app :~$node app.js
Step 3: Open site at. http://localhost:3000/
Step 4: You are good to go now. Signup,Login and Chat.
OS : Ubuntu 16.04 LTS (64-bit).
Editor : Atom 1.17.2 (64-bit).
Browser : Mozilla Firefox 52.0.2 (64-bit).
Google Chrome 58.0.3029.110
Google Chrome 58.0.3029.110 (64-bit).
front-end : jQuery - DOM malipulation,
moment.js - Formatting Date and Time.
Socket.io - Enables real-time bi-directional event-based communication.
This is first version 1.0.0
Designed and Developed by: Sourav Das