Skip to content

基于WebSocket的聊天室项目demo,简单实现了群聊和私聊

Notifications You must be signed in to change notification settings

sc-xy/springboot-websocket-chatroom-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Springboot WebSocket ChatRoom Demo

环境配置

  1. Java - 17
  2. Maven - 3.x.x

项目启动

1. 克隆项目

git clone https://github.com/sc-xy/springboot-websocket-chatroom-demo.git

2. 编译运行

cd springboot-websocket-chatroom-demo
mvn clean package
java -jar target/springboot-websocket-chatroom-demo-0.0.1-SNAPSHOT.jar

当然,也可以直接运行项目

mvn spring-boot:run

3. 访问地址

http://localhost:8080/chatRoom.html

项目演示

http://chatDemo.sc-xy.top/chatRoom.html

About

基于WebSocket的聊天室项目demo,简单实现了群聊和私聊

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published