Spring Boot WebSocket Chat Demo with SockJS fallback and STOMP protocol
Clone or download
Latest commit 8df151b Jan 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper spring-websocket-chat-demo Jul 25, 2017
src CalliCoder Title Apr 19, 2018
.gitignore Readme Apr 6, 2018
Dockerfile Dockerfile and docker-maven-plugin Apr 19, 2018
Readme.md Added screenshot Jan 7, 2019
mvnw spring-websocket-chat-demo Jul 25, 2017
mvnw.cmd spring-websocket-chat-demo Jul 25, 2017
pom.xml Indentation Apr 20, 2018
screenshot.png Added screenshot Jan 7, 2019

Readme.md

Spring Boot WebSocket Chat Appplication

You can checkout the live version of the application at https://spring-ws-chat.herokuapp.com/

App Screenshot

Requirements

  1. Java - 1.8.x

  2. Maven - 3.x.x

Steps to Setup

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

Learn More

You can find the tutorial for this application on my blog -

https://www.callicoder.com/spring-boot-websocket-chat-example/