/websocket-chat-spring-boot-angular

Chat application over websockets using Spring Boot and Angular

Primary LanguageTypeScriptMIT LicenseMIT

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