ChatScape is a full-stack real-time chat application built using the MERN stack, enabling users to chat instantly, initiate voice/video calls, and communicate securely — all within a responsive, modern UI.
Built with Socket.IO and WebRTC, it provides sub-second latency for real-time messaging and seamless P2P calling. Strong authentication is implemented using JWT and Bcrypt, ensuring user data and messages remain secure.
💬 Real-Time Messaging using Socket.IO
📞 Voice & Video Calls with WebRTC
🔐 JWT Authentication for secure access
🔒 Bcrypt Password Hashing for strong credential protection
🧑🤝🧑 User Search, One-on-One Chats
📱 Responsive UI for mobile and desktop
🧾 Chat History stored with MongoDB
🔄 Auto Refresh and Typing Indicator
🟢 Live App
💻 Source Code
| Category | Technologies |
|---|---|
| 🖥️ Frontend | React.js, Tailwind CSS |
| ⚙️ Backend | Node.js, Express.js |
| 📡 Real-Time | Socket.IO |
| 🔐 Auth | JWT, Bcrypt |
| 🗂️ Database | MongoDB (Mongoose) |
| 📞 Video Calls | WebRTC |
| 🚀 Deployment | Vercel (Frontend), Render (Backend) |
ChatScape/
├── client/ # React Frontend
│ ├── src/
│ └── public/
├── server/ # Express Backend
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ └── utils/This project helped me understand:
- WebRTC for peer-to-peer video/audio calling
- Socket.IO for real-time messaging
- Building scalable chat architecture
- Managing auth with JWT + Bcrypt
- Responsive UI/UX with Tailwind CSS
Clone the project
git clone https://link-to-projectGo to the project directory
cd my-projectInstall dependencies
npm installStart the server
npm run startCreate a .env file in the server/ directory and add:
PORT=5000
MONGO_URI=your_mongo_connection
JWT_SECRET=your_jwt_secretContributions are welcome!
If you want to improve something or fix bugs, feel free to:
- Fork the repo
- Create a branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m "Add your feature") - Push and create a PR
Please follow the Code of Conduct and Contributing Guide.
Krishna Gupta
🌐 Portfolio
💼 LinkedIn
📧 guptakrish1947@gmail.com
This project is licensed under the MIT License.
Feel free to use, modify, and distribute.
- 📡 Socket.IO Docs
- 📞 WebRTC Fundamentals
- 🧾 MongoDB + Mongoose
- 🎨 Tailwind CSS
