Skip to content

Vikashh78/ChatSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MERN Real-Time Chat App

  • A real-time chat application built using the MERN stack and Socket.IO. Features include user authentication, one-to-one messaging, online status tracking, message seen indicators, image sharing, and real-time updates. The application follows RESTful API architecture and uses JWT for secure authentication.

✨ Features :

  • πŸ” User authentication using JWT
  • πŸ’¬ Real-time one-to-one messaging
  • 🟒 Online / Offline user status
  • πŸ‘οΈ Message seen indicators
  • πŸ–ΌοΈ Image sharing in chat
  • ⏰ Message timestamps
  • πŸ“± Responsive UI
  • πŸ”„ Real-time updates without page refresh

------ Tech Stack -----

Frontend

  • React.js
  • Context API
  • Axios
  • Tailwind CSS

Backend

  • Node.js
  • Express.js
  • MongoDB & Mongoose
  • Socket.IO
  • JWT Authentication

πŸ—οΈ Project Structure :

β”œβ”€β”€ client β”‚ β”œβ”€β”€ src β”‚ β”‚ β”œβ”€β”€ components β”‚ β”‚ β”œβ”€β”€ context β”‚ β”‚ β”œβ”€β”€ pages β”‚ β”‚ β”œβ”€β”€ utils β”‚ β”‚ └── App.jsx β”‚ β”œβ”€β”€ server β”‚ β”œβ”€β”€ controllers β”‚ β”œβ”€β”€ middleware β”‚ β”œβ”€β”€ models β”‚ β”œβ”€β”€ routes β”‚ β”œβ”€β”€ socket β”‚ └── server.js β”‚ └── README.md

βš™οΈ Installation & Setup :

1️⃣ Clone the repository -- git clone https://github.com/Vikashh78/Quick-Chat-.git cd Quick-Chat-

2️⃣ Setup Backend --

cd server npm install

Create a .env file in the server folder: PORT=8000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret

Start the backend server: npm run start

3️⃣ Setup Frontend --

cd client npm install npm run dev

πŸ” Real-Time Communication --

Socket.IO is used to handle: Live message delivery Online/offline user tracking Real-time UI updates

About

Real-Time Chat Application (MERN Stack) A full-stack real-time chat application built using the MERN stack that enables users to communicate instantly with one another. The app supports user authentication, one-to-one messaging, online/offline presence, message seen status, and image sharing. Real-time updates are handled using Socket.IO.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages