https://github.com/hasnatrasool163/springboot-websocket-app
This repo contains a basic stomp client based messaging application made in springboot - using websockets.
https://github.com/hasnatrasool163/springboot-websocket-app
Last synced: 11 months ago
JSON representation
This repo contains a basic stomp client based messaging application made in springboot - using websockets.
- Host: GitHub
- URL: https://github.com/hasnatrasool163/springboot-websocket-app
- Owner: Hasnatrasool163
- Created: 2024-12-30T19:30:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-30T19:36:24.000Z (about 1 year ago)
- Last Synced: 2024-12-30T20:29:45.242Z (about 1 year ago)
- Language: Java
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java Swing + Spring Boot WebSocket Chat Application
This is a simple real-time chat application that uses **Java Swing** for the client-side GUI and **Spring Boot** on the backend, leveraging **WebSockets** for real-time messaging.
---
## Features
### Backend (Spring Boot):
- **WebSocket Integration**: Enables real-time bidirectional communication between the server and connected clients.
- **List of Connected Users**: Maintains and displays the list of currently connected users.
- **Message Broadcasting**: Sends messages to specific users or broadcasts them to all connected users.
### Frontend (Java Swing):
- **User-Friendly GUI**: A modern and minimalistic interface designed using Swing.
- **Live User List**: Displays the list of users currently online, dynamically updated in real time.
- **Real-Time Messaging**: Send and receive messages instantly using WebSocket.
---
## Getting Started
### Prerequisites
- **JDK 21 or higher**
- **Maven** for building the Spring Boot backend
- **Java Swing IDE** (e.g., IntelliJ IDEA, Eclipse)
---
### Installation
1. **Clone the Repository**
git clone https://github.com/Hasnatrasool163/SpringBoot-WebSocket-App.git
cd SpringBoot-WebSocket-App
2. BackEnd file name : WebsocketDemoApplication.java
3. Front-End file name : App.java
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.