https://github.com/mokkapps/spring-boot-websocket-anonymous-messages-demo
A demo application for a Spring Boot backend with WebSocket that sends anonymous messages to Vue.js frontend
https://github.com/mokkapps/spring-boot-websocket-anonymous-messages-demo
Last synced: over 1 year ago
JSON representation
A demo application for a Spring Boot backend with WebSocket that sends anonymous messages to Vue.js frontend
- Host: GitHub
- URL: https://github.com/mokkapps/spring-boot-websocket-anonymous-messages-demo
- Owner: Mokkapps
- Created: 2020-02-03T19:15:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-14T22:10:49.000Z (over 4 years ago)
- Last Synced: 2025-03-26T05:11:32.256Z (over 1 year ago)
- Language: Java
- Size: 7.75 MB
- Stars: 13
- Watchers: 1
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot WebSocket Anonymous Messages Demo
This demo is related to this blog post: [Sending Message To Specific Anonymous User On Spring WebSocket](https://www.mokkapps.de/blog/sending-message-to-specific-anonymous-user-on-spring-websocket/)
## Run the demo
Start the frontend by calling:
```bash
cd frontend
npm run serve
```
Start the backend:
```bash
cd backend
./gradlew bootRun
```
Open `http://localhost:4200` in your browser.