Skip to content

abhijeetjuneja/chat-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket.io Chat Application

This is a NodeJs Chat Application made using Socket.io. All the chats are stored using MongoDB.

Getting Started

To install this on your system download or clone the repository. Install all dependencies and run the NodeJS server and mongoDB.

Prerequisites

  1. NodeJS
  2. NPM
  3. MongoDB

Dependencies

NPM modules used : express,socket.io,express-session,connect-redis,mongoose,events,pick-random.

Installation

  1. Download or clone the repository.
  2. Unzip the downloaded folder.
  3. Through a terminal or Command Prompt all dependencies can be installed using the command "npm install".

How to Run the Application

  1. Run the NodeJS application.
  2. Start MongoDB in the background.
  3. Launch http://localhost:3000 in a browser.
  4. Enter username and start chatting.
  5. Refreshing the page logs you out of the application.
  6. All usernames are unique.

Built with

  1. NodeJS.
  2. ExpressJS.
  3. MongoDB.
  4. Socket.IO.

About

This is a Chat Application made using Socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published