Skip to content

debojeetmitra/CHAT_APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 Real-Time Chat Application (MERN Stack)

A full-stack real-time chat application built using the MERN stack with modern technologies like Socket.io, JWT Authentication, and Zustand.

🔗 Live Demo: https://chat-app-uiqr.onrender.com


🚀 Features

  • 🔐 Authentication & Authorization

    • Secure login/signup using JWT
  • 💬 Real-Time Messaging

    • Instant messaging powered by Socket.io
  • 🟢 Online User Status

    • See who is online in real-time
  • 🧠 Global State Management

    • Managed efficiently using Zustand
  • ⚙️ Error Handling

    • Robust error handling on both client & server
  • 🎨 Modern UI

    • Built with TailwindCSS + DaisyUI
  • 🚀 Deployment

    • Fully deployed on Render

🛠️ Tech Stack

Frontend:

  • React.js
  • Zustand
  • TailwindCSS
  • Daisy UI

Backend:

  • Node.js
  • Express.js
  • MongoDB
  • Socket.io
  • JWT (Authentication)

📂 Project Structure

client/     → Frontend (React + Zustand)
server/     → Backend (Node + Express + MongoDB + Socket.io)

⚡ Getting Started

1️⃣ Clone the repository

git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name

2️⃣ Setup Backend

cd server
npm install
npm run dev

3️⃣ Setup Frontend

cd client
npm install
npm run dev

🔑 Environment Variables

Create a .env file in the server folder and add:

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key

🎯 Key Learnings

  • Implemented real-time communication using WebSockets
  • Understood JWT-based authentication flow
  • Managed global state with Zustand
  • Learned full-stack deployment on Render
  • Improved debugging and error handling skills

🤝 Contributing

Contributions are welcome! Feel free to fork this repo and improve it.


📬 Contact

If you have any questions or suggestions, feel free to reach out.


⭐ If you like this project, give it a star!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages