https://github.com/syedomer17/chat-app
๐ฌ A fullstack real-time chat application built with NestJS, React, Tailwind CSS, and Socket.IO. ๐ Includes user join/leave notifications, typing indicators, and message history with MongoDB. ๐จ Clean and responsive UI powered by shadcn/ui and TypeScript throughout.
https://github.com/syedomer17/chat-app
mongodb nestjs reactjs shadcn-ui socket-io tailwindcss websocket
Last synced: 2 months ago
JSON representation
๐ฌ A fullstack real-time chat application built with NestJS, React, Tailwind CSS, and Socket.IO. ๐ Includes user join/leave notifications, typing indicators, and message history with MongoDB. ๐จ Clean and responsive UI powered by shadcn/ui and TypeScript throughout.
- Host: GitHub
- URL: https://github.com/syedomer17/chat-app
- Owner: syedomer17
- Created: 2025-05-28T08:31:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-28T09:32:35.000Z (about 1 year ago)
- Last Synced: 2025-05-28T10:31:04.358Z (about 1 year ago)
- Topics: mongodb, nestjs, reactjs, shadcn-ui, socket-io, tailwindcss, websocket
- Language: TypeScript
- Homepage: https://github.com/syedomer17/Chat-app
- Size: 150 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ฌ Real-Time Chat App (NestJS + React + WebSocket)
A modern fullstack chat application built with:
* ๐ง **NestJS** (Backend)
* โก **Socket.IO** for real-time messaging
* ๐จ **React.js + Tailwind CSS** for a responsive UI
* ๐
**shadcn/ui** for accessible and beautiful components
* ๐ **MongoDB** for message persistence
* ๐ฌ User join/leave announcements, typing indicators, and chat history
---
## ๐ฆ Features
โ
Real-time messaging
โ
Join/Leave notifications
โ
Typing indicators
โ
MongoDB message storage
โ
Display active users
โ
Responsive UI (with Tailwind + shadcn)
โ
Fully typed with TypeScript
---
## ๐ Project Structure
```
chat-app/
โโโ chat-backend/ โ NestJS backend (Socket.IO + MongoDB)
โโโ chat-frontend/ โ React frontend (Tailwind + WebSocket)
```
---
## โจ Getting Started
### 1. Clone the repository
```bash
git clone https://github.com/YOUR_USERNAME/chat-app.git
cd chat-app
```
---
## ๐ง Backend Setup (`chat-backend/`)
### ๐ฆ Install dependencies
```bash
cd chat-backend
npm install
```
### โ๏ธ Configure
Create a `config` folder and inside it create a `config.ts` file:
```
MONGO_URI=mongodb://localhost:27017/chat-app
```
> Make sure MongoDB is running locally
### โถ๏ธ Run the backend
```bash
npm run start:dev
```
Backend will run on: [http://localhost:3000](http://localhost:3000)
---
## ๐จ Frontend Setup (`chat-frontend/`)
---
## ๐งช Technologies Used
### Backend:
* NestJS
* Socket.IO (WebSocket Gateway)
* Mongoose + MongoDB
* TypeScript
### Frontend:
* React.js (Vite)
* Tailwind CSS
* shadcn/ui
* WebSockets
---
## ๐ค Contributing
Feel free to fork the project and submit a PR with improvements!
---