https://github.com/stylepatrick/websocket-chat-spring-boot-angular
Chat application over websockets using Spring Boot and Angular
https://github.com/stylepatrick/websocket-chat-spring-boot-angular
angular chat chat-application socketjs springboot stomp stompjs websocket
Last synced: 11 months ago
JSON representation
Chat application over websockets using Spring Boot and Angular
- Host: GitHub
- URL: https://github.com/stylepatrick/websocket-chat-spring-boot-angular
- Owner: stylepatrick
- License: mit
- Created: 2022-08-18T06:38:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T15:22:26.000Z (over 3 years ago)
- Last Synced: 2025-01-26T07:41:23.420Z (about 1 year ago)
- Topics: angular, chat, chat-application, socketjs, springboot, stomp, stompjs, websocket
- Language: TypeScript
- Homepage:
- Size: 347 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# websocket-chat-spring-boot-angular
Chat application over websockets using Spring Boot and Angular.
Two examples one with stomp (secured by spring-security and spring-security-messaging) and the other without stomp (no security).
Two or more clients (browser tabs) can communicate with each other via websockets.
Example:
User1 and User2 are logged in (with stomp: subscribed to the /secured/topic/message topic, without stomp: subscribed to /ws).
With stomp they can send messages to the endpoint /secured/app/chat, which forwards the messages to the topic the clients are connected to.
