Gitpedia

Spring boot websocket chat demo

Spring Boot WebSocket Chat Demo with SockJS fallback and STOMP protocol

From callicoder·Updated May 31, 2026·View on GitHub·

You can checkout the live version of the application at https://spring-ws-chat.herokuapp.com/ The project is written primarily in Java, first published in 2017. It has gained significant community traction with 1,091 stars and 634 forks on GitHub. Key topics include: chat, sockjs, spring, spring-boot, stomp.

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

bash
git clone https://github.com/callicoder/spring-boot-websocket-chat-demo.git

2. Build and run the app using maven

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

bash
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/

Contributors

Showing top 2 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from callicoder/spring-boot-websocket-chat-demo via the GitHub API.Last fetched: 5/31/2026