Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/callicoder/spring-boot-websocket-chat-demo
Spring Boot WebSocket Chat Demo with SockJS fallback and STOMP protocol
https://github.com/callicoder/spring-boot-websocket-chat-demo
chat sockjs spring spring-boot stomp tutorial websocket
Last synced: 4 days ago
JSON representation
Spring Boot WebSocket Chat Demo with SockJS fallback and STOMP protocol
- Host: GitHub
- URL: https://github.com/callicoder/spring-boot-websocket-chat-demo
- Owner: callicoder
- Created: 2017-07-25T13:06:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-08T21:32:20.000Z (over 1 year ago)
- Last Synced: 2024-04-11T15:33:50.514Z (7 months ago)
- Topics: chat, sockjs, spring, spring-boot, stomp, tutorial, websocket
- Language: Java
- Homepage: https://www.callicoder.com/spring-boot-websocket-chat-example/
- Size: 209 KB
- Stars: 1,012
- Watchers: 25
- Forks: 629
- Open Issues: 7
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Spring Boot WebSocket Chat Appplication
You can checkout the live version of the application at https://spring-ws-chat.herokuapp.com/
![App Screenshot](screenshot.png)
## Requirements
1. Java - 11
2. Maven - 3.x.x
## Steps to Setup
**1. Clone the application**
```bash
git clone https://github.com/callicoder/spring-boot-websocket-chat-demo.git
```**2. Build and run the app using maven**
```bash
cd spring-boot-websocket-chat-demo
mvn package
java -jar target/websocket-demo-0.0.1-SNAPSHOT.jar
```Alternatively, you can run the app directly without packaging it like so -
```bash
mvn spring-boot:run
```## Learn More
You can find the tutorial for this application on my blog -
https://www.callicoder.com/spring-boot-websocket-chat-example/