An open API service indexing awesome lists of open source software.

https://github.com/srajan-kush/chat-app

A Full Stack Realtime Chat App built with MERN, Socket.io, TailwindCSS, and Zustand, featuring JWT authentication, real-time messaging, online user status, and cloud storage via Cloudinary. The app ensures seamless communication with robust error handling and a responsive UI.
https://github.com/srajan-kush/chat-app

jwt-authentication mern-project socket-io tailwindcss zustand

Last synced: about 2 months ago
JSON representation

A Full Stack Realtime Chat App built with MERN, Socket.io, TailwindCSS, and Zustand, featuring JWT authentication, real-time messaging, online user status, and cloud storage via Cloudinary. The app ensures seamless communication with robust error handling and a responsive UI.

Awesome Lists containing this project

README

          

# ✨ Full Stack Realtime Chat App ✨

## 🚀 Features

- 🌟 **Tech Stack**: MERN + Socket.io + TailwindCSS + Daisy UI
- 🔐 **Authentication & Authorization**: Secure with JWT
- 💬 **Real-Time Messaging**: Powered by Socket.io
- 🟢 **Online User Status**: See who is online
- ⚡ **State Management**: Global state handled with Zustand
- 🛡️ **Robust Error Handling**: Managed on both client & server
- 📡 **Cloud Storage**: Image uploads with Cloudinary
- 🌍 **Deployment**: Deploy like a pro for FREE!
- ⏳ **And much more!**

---

## 📌 Setup `.env` File

Create a `.env` file in the root directory and add the following:

```ini
MONGODB_URI=your_mongodb_connection_string
PORT=5001
JWT_SECRET=your_jwt_secret

CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret

NODE_ENV=development
```

---

## 🛠️ Clone the Repository

```sh
git clone https://github.com/srajan-kush/chat-app.git
cd chat-app
```

---

## 🛠️ Build the App

```sh
npm run build
```

---

## ▶️ Start the Backend

```sh
cd backend
npm install
npm run dev
```

---

## ▶️ Start the Frontend

```sh
cd frontend
npm install
npm run dev
```
---
## Screenshot

![Screenshot 2025-03-30 102509](https://github.com/user-attachments/assets/fcd436ce-c49e-4a7d-9b3b-87c34e103c3a)

---

## 🤝 Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

---

## 📩 Contact
For any queries, reach out to me via [LinkedIn](https://www.linkedin.com/in/srajan-kushwaha/) or email at [srajank2003@gmail.com](mailto:srajank2003@gmail.com).