You can checkout the live version of the application at https://spring-ws-chat.herokuapp.com/
-
Java - 11
-
Maven - 3.x.x
1. Clone the application
git clone https://github.com/callicoder/spring-boot-websocket-chat-demo.git
2. Build and run the app using maven
cd spring-boot-websocket-chat-demo
mvn package
java -jar target/websocket-demo-0.0.1-SNAPSHOT.jar
Alternatively, you can run the app directly without packaging it like so -
mvn spring-boot:run
You can find the tutorial for this application on my blog -
https://www.callicoder.com/spring-boot-websocket-chat-example/