Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’¬ Real-Time Chat Application (MERN + Socket.io) πŸš€

A fully functional Real-Time Chat Application built using the MERN Stack with Socket.io for instant messaging. This project enables users to chat in real-time with a smooth and responsive UI.


⚑ Features

  • πŸ’¬ Real-Time Messaging (Instant chat with Socket.io)
  • 🟒 Online / Offline User Status
  • πŸ‘€ User Authentication (Login / Signup)
  • πŸ§‘β€πŸ€β€πŸ§‘ One-to-One Chat System
  • πŸ”” Live Notifications
  • πŸ“‘ Persistent Chat Data (MongoDB)
  • ⚑ Fast & Responsive UI
  • 🎯 Clean Component-Based Architecture

--- // Real time Commucation

πŸ› οΈ Tech Stack

πŸš€ Frontend

  • βš›οΈ React.js
  • 🎨 CSS

βš™οΈ Backend

  • 🟒 Node.js
  • πŸš€ Express.js

πŸ—„οΈ Database

  • πŸƒ MongoDB

πŸ”Œ Real-Time Engine

  • ⚑ Socket.io

πŸ“‚ Project Structure

Chat-Application/
 β”œβ”€β”€ frontend/   # React App
 β”œβ”€β”€ backend/    # Node + Express Server
 └── README.md

πŸš€ How to Run Locally

πŸ”§ 1. Clone the repo

git clone https://github.com/raushanwith-code/Chat-Application-Mern-Stack.git

πŸ“¦ 2. Setup Backend

cd backend
npm install
npm start

🎨 3. Setup Frontend

cd frontend
npm install
npm start

πŸ” Environment Variables

Create a .env file in backend:

PORT=5000
MONGO_URI=your_mongodb_connection
JWT_SECRET=your_secret_key

🎯 Key Highlights

  • βœ” Built using MERN Stack
  • βœ” Integrated Socket.io for real-time communication
  • βœ” Handles live user interactions
  • βœ” Scalable project structure
  • βœ” Real-world application use case

🧠 What I Learned

  • Real-time communication using Socket.io
  • Managing full-stack applications
  • API creation & integration
  • State management in React
  • Handling authentication & user sessions

πŸš€ Future Improvements

  • πŸ–ΌοΈ Image & File Sharing
  • πŸ“ž Voice / Video Call Integration
  • 🌐 Group Chats
  • πŸ”” Push Notifications
  • πŸ“± Mobile Responsive UI

πŸ‘¨β€πŸ’» Author

Raushan Kumar GitHub: https://github.com/raushanwith-code


⭐ Show Some Love

If you like this project, give it a ⭐ and share it!


πŸ”₯ Built with passion & 100% dedication πŸ’ͺ

About

πŸ’¬ Real-time chat app built with MERN + ⚑ Socket.IO

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages