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

https://github.com/vikas9kumargupta/group-chat-application


https://github.com/vikas9kumargupta/group-chat-application

java-8 javascript react spring spring-boot springboot vitejs websocket

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# πŸ“’ Group Chat Application

A real-time group chat application built using **React + Vite** for the frontend and **Spring Boot + WebSocket + MongoDB** for the backend. The app provides seamless, instant messaging with a modern UI and robust backend infrastructure.

![Java](https://img.shields.io/badge/Java-17-blue?logo=openjdk)
![SpringΒ Boot](https://img.shields.io/badge/Spring%20Boot-3.x-6DB33F?logo=spring)
![JavaScript](https://img.shields.io/badge/logo-javascript-blue?logo=javascript)
![React](https://img.shields.io/badge/-ReactJs-61DAFB?logo=react)
![License](https://img.shields.io/badge/License-MIT-green)

---

## πŸš€ Features

βœ… **Real-time Messaging** - Instant message delivery via WebSockets
βœ… **User Authentication** - Secure login and signup with JWT
βœ… **Group Chat Support** - Users can create and join multiple chat rooms
βœ… **MongoDB Integration** - Persistent chat storage
βœ… **Modern UI** - Built with React and Vite for a smooth user experience
βœ… **Spring Boot WebSocket** - Ensures efficient real-time communication

---

## πŸ› οΈ Tech Stack

### **Frontend:**
- React + Vite
- Tailwind CSS (or any other styling library you used)
- WebSockets (for real-time communication)

### **Backend:**
- Spring Boot
- WebSocket
- MongoDB (as the database)
- Spring Security + JWT (for authentication)
- Postman

---

## πŸ“‚ Project Structure

```
πŸ“¦ GroupChatApp
┣ πŸ“‚ frontend # React + Vite frontend
┃ ┣ πŸ“‚ src
┃ ┃ ┣ πŸ“‚ components
┃ ┃ ┣ πŸ“‚ pages
┃ ┃ ┣ πŸ“‚ services
┃ ┣ πŸ“„ package.json
┃ ┣ πŸ“„ vite.config.js
┣ πŸ“‚ backend # Spring Boot backend
┃ ┣ πŸ“‚ src/main/java/com/groupchat
┃ ┣ πŸ“‚ controllers
┃ ┣ πŸ“‚ services
┃ ┣ πŸ“‚ models
┃ ┣ πŸ“„ application.properties
┣ πŸ“„ README.md
```

---

## πŸ”§ Setup and Installation

### **1️⃣ Clone the Repository**
```sh
git clone https://github.com/your-username/group-chat-app.git
cd group-chat-app
```

### **2️⃣ Backend Setup**
```sh
cd backend
mvn clean install
mvn spring-boot:run
```
Ensure MongoDB is running on your system.

### **3️⃣ Frontend Setup**
```sh
cd frontend
npm install
npm run dev
```

---

## 🎯 Future Enhancements
- βœ… Direct messaging support
- βœ… Message reactions and emoji support
- βœ… User typing indicators
- βœ… Push notifications

---

## πŸ† Contributors
- **Vikas Kumar Gupta** - [GitHub Profile](https://github.com/Vikas9kumargupta)

Feel free to contribute! 😊

---

## πŸ“œ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.