https://github.com/stylepatrick/rest-to-websocket-delegator
Rest to websocket delegator. Spring Boot backend will consume rest requests and delegate them to the Angular frontend.
https://github.com/stylepatrick/rest-to-websocket-delegator
angular delegator rest-api spring-boot websocket
Last synced: about 1 month ago
JSON representation
Rest to websocket delegator. Spring Boot backend will consume rest requests and delegate them to the Angular frontend.
- Host: GitHub
- URL: https://github.com/stylepatrick/rest-to-websocket-delegator
- Owner: stylepatrick
- License: mit
- Created: 2022-11-09T17:25:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-10T05:51:13.000Z (over 3 years ago)
- Last Synced: 2025-01-26T07:41:24.661Z (over 1 year ago)
- Topics: angular, delegator, rest-api, spring-boot, websocket
- Language: TypeScript
- Homepage:
- Size: 266 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rest-to-websocket-delegator
Rest to websocket delegator. Spring Boot backend will consume rest requests and delegate them to the Angular frontend.
POST request to http://localhost:8080/api/consumer will send a websocket message to all available clients, if the userId matches with the logged in user the message will be displayed:
POST body:
`{
"userId": "tt",
"message": "Hallo 123!"
}`