Johnny-ZTSD / spring-boot-websocket-chat-demo

Spring Boot WebSocket Chat Demo with SockJS fallback and STOMP protocol

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 - 11

  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/

About

Spring Boot WebSocket Chat Demo with SockJS fallback and STOMP protocol

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


Languages

Language:Java 31.7%Language:CSS 30.3%Language:JavaScript 22.3%Language:HTML 12.3%Language:Dockerfile 3.3%