/spring-boot-websocket-anonymous-messages-demo

A demo application for a Spring Boot backend with WebSocket that sends anonymous messages to Vue.js frontend

Primary LanguageJava

Spring Boot WebSocket Anonymous Messages Demo

This demo is related to this blog post: Sending Message To Specific Anonymous User On Spring WebSocket

Run the demo

Start the frontend by calling:

cd frontend

npm run serve

Start the backend:

cd backend

./gradlew bootRun

Open http://localhost:4200 in your browser.