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

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

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.

![image](https://user-images.githubusercontent.com/52086629/185710085-19c04421-34fd-454d-ad5e-03ff9176615e.png)