https://github.com/ratnesh2003/spring-boot-socketio
A demo application demonstrating how to configure your Spring Boot application with WebSockets through Socket.IO along with authentication.
https://github.com/ratnesh2003/spring-boot-socketio
authentication java socket-io spring-boot websocket
Last synced: 5 months ago
JSON representation
A demo application demonstrating how to configure your Spring Boot application with WebSockets through Socket.IO along with authentication.
- Host: GitHub
- URL: https://github.com/ratnesh2003/spring-boot-socketio
- Owner: Ratnesh2003
- Created: 2024-09-08T20:26:39.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T19:13:05.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T21:45:07.776Z (about 1 year ago)
- Topics: authentication, java, socket-io, spring-boot, websocket
- Language: Java
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot WebSockets Using Socket.IO
A demo application demonstrating how to configure WebSockets in Spring Boot using Socket.IO along with authentication.
This demo application is a part of [this](https://dev.to/ratnesh_2003/spring-boot-websockets-socketio-authentication-postman-32j3) article where I have provided a complete step-by-step walkthrough to configure WebSockets using Socket.IO in Spring Boot.
## Getting Started
### Prerequisites
1. Java 17+
2. Maven: We'll be using Maven as our build and dependency management tool
3. IDE: Choose any IDE you're comfortable with like IntelliJ IDEA or Eclipse.
### Running the Application
Clone the repository and run the application using the following command:
```bash
mvn spring-boot:run
```
The application will start on port 8080 and the WebSocket server will start on port 8081.