Skip to content

KrishnaGupta1111/ChatScape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💬📞 ChatScape – Real-Time Chat & Calling Application

Screenshot-2025-07-24-000248.png

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.

✨ Features

💬 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

🔗 Demo

🟢 Live App
💻 Source Code

🛠️ Tech Stack

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)

🧩 Folder Structure

ChatScape/
├── client/                 # React Frontend
│   ├── src/
│   └── public/
├── server/                 # Express Backend
│   ├── controllers/
│   ├── models/
│   ├── routes/
│   └── utils/

🎯 Why I Built This

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

Run Locally

Clone the project

  git clone https://link-to-project

Go to the project directory

  cd my-project

Install dependencies

  npm install

Start the server

  npm run start

🔐 Environment Variables

Create a .env file in the server/ directory and add:

PORT=5000
MONGO_URI=your_mongo_connection
JWT_SECRET=your_jwt_secret

🤝 Contributing

Contributions 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.

🙋‍♂️ Author

Krishna Gupta
🌐 Portfolio
💼 LinkedIn
📧 guptakrish1947@gmail.com

📜 License

This project is licensed under the MIT License.
Feel free to use, modify, and distribute.

🙏 Acknowledgements

  • 📡 Socket.IO Docs
  • 📞 WebRTC Fundamentals
  • 🧾 MongoDB + Mongoose
  • 🎨 Tailwind CSS

About

A full-stack real-time chat application with secure text messaging, voice, and video calling using WebRTC and Socket.IO. Built with the MERN stack, JWT authentication, and TailwindCSS, Chatscape delivers a fast, interactive, and modern communication experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages