- A MERN full stack real time chat app where multiple users can logged in and can chat.
- Uses Socket.io for real time communication and stores user details in encrypted format in MongoDB.
Client: React JS
Server: Node JS, Express JS
Database: Mongo DB
Step:1- Clone the project
git clone https://github.com/Prakashsaw/Real-Time-Chat-App.git
Step:2- Go to the project directory
cd Real-Time-Chat-App
Step:3- Install dependencies in all folders like client, server and socket one by one
- Installl dependencies for client
cd client/
npm install
- Installl dependencies for server
cd server/
npm install
- Installl dependencies for socket
cd socket/
npm install
Step:4- Make .env file in server folder which contain yours development database keys of MongoDB and JWT secrete key
ATLAS_URI =
JWT_SECRET_KEY =
Step:5- Start these all three client, server and socket in three seperate terminals
- Start the client
//open new terminal
cd client
npm run dev
- Start the server
//open new terminal
cd server
nodemon index.js
- Start the socket
//open new terminal
cd socket
nodemon index.js
Step:6- Now your Chatting app is running in your local host.