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
-
🔐 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
- React.js
- Zustand
- TailwindCSS
- Daisy UI
- Node.js
- Express.js
- MongoDB
- Socket.io
- JWT (Authentication)
client/ → Frontend (React + Zustand)
server/ → Backend (Node + Express + MongoDB + Socket.io)
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-namecd server
npm install
npm run devcd client
npm install
npm run devCreate a .env file in the server folder and add:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key- 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
Contributions are welcome! Feel free to fork this repo and improve it.
If you have any questions or suggestions, feel free to reach out.
⭐ If you like this project, give it a star!