zzy-life / springboot-webSocket

Spring Boot WebSocket chat room demo of STOMP protocol, STOMP 协议的 Spring Boot WebSocket 聊天房间演示

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot WebSocket Chat Appplication

Spring Boot WebSocket chat application can be matched to a single room for chat, and rooms are isolated.

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

App Screenshot

Requirements

  1. Java - 1.8

  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 room demo of STOMP protocol, STOMP 协议的 Spring Boot WebSocket 聊天房间演示


Languages

Language:Java 48.8%Language:JavaScript 21.7%Language:CSS 19.9%Language:HTML 7.6%Language:Dockerfile 2.0%