Skip to content

About

A **real-time Chat Room application** built using the **MERN Stack (MongoDB, Express.js, React.js, Node.js)** that enables seamless user communication with a responsive UI, scalable backend, and persistent message storage. πŸš€

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’¬ Chat Room Application (MERN Stack)

A real-time Chat Room Application built using the MERN Stack β€” MongoDB, Express.js, React.js, and Node.js. This project enables users to communicate in real time with a responsive UI and a scalable backend architecture.

πŸ”— GitHub Repository: https://github.com/VaibhavSain/Chat-Room-Mern


πŸš€ Features

  • πŸ”΄ Real-time messaging between users
  • πŸ§‘β€πŸ€β€πŸ§‘ Multiple users support in chat rooms
  • ⚑ Fast and responsive UI with React
  • 🌐 RESTful APIs using Express & Node.js
  • πŸ—„οΈ Persistent message storage with MongoDB
  • πŸ“± Fully responsive design

πŸ› οΈ Tech Stack

Frontend

  • React.js
  • HTML5
  • CSS3
  • JavaScript

Backend

  • Node.js
  • Express.js

Database

  • MongoDB

πŸ“‚ Project Structure

Chat-Room-Mern/
β”‚
β”œβ”€β”€ client/        # React frontend
β”‚   β”œβ”€β”€ src/
β”‚   └── public/
β”‚
β”œβ”€β”€ server/        # Node & Express backend
β”‚   β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ models/
β”‚   └── controllers/
β”‚
β”œβ”€β”€ .env           # Environment variables
β”œβ”€β”€ package.json
└── README.md

βš™οΈ Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/VaibhavSain/Chat-Room-Mern.git
cd Chat-Room-Mern

2️⃣ Backend Setup

cd server
npm install

Create a .env file and add:

MONGO_URI=your_mongodb_connection_string
PORT=5000

Run the backend server:

npm start

3️⃣ Frontend Setup

cd client
npm install
npm start

The app will run on:

  • Frontend: http://localhost:3000
  • Backend: http://localhost:5000

πŸ“Έ Screenshots

Screenshot_20260108_180659 [Screencast_20260108_180606.webm](https://github.com/user-attachments/assets/f1d868a2-c70b-425a-8fb2-ae210fc98e40)

πŸ“š Learning Outcomes

  • Hands-on experience with full-stack MERN development
  • Understanding real-time communication architecture
  • Improved skills in API design and state management
  • Working with MongoDB schema design

🀝 Contributing

Contributions are welcome! Feel free to fork the repo, create a new branch, and submit a pull request.


πŸ“¬ Contact

Vaibhav Sain πŸ”— GitHub: https://github.com/VaibhavSain πŸ’Ό LinkedIn: (add your LinkedIn profile link here)


⭐ If you like this project, don’t forget to give it a star!


About

A **real-time Chat Room application** built using the **MERN Stack (MongoDB, Express.js, React.js, Node.js)** that enables seamless user communication with a responsive UI, scalable backend, and persistent message storage. πŸš€

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages