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

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.

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.