Creating a Live Chat from Scratch with Spring Boot, Websocket, STOMP and AWS

Опубликовано: 01 Май 2026
на канале: Build & Run
10,745
733

🎉 Learn about FBR:

https://hotm.art/fbryd

In this video, we'll create a Live Chat from scratch using Spring Boot, WebSocket, and STOMP, and deploy it to AWS with Elastic Beanstalk. 🚀

You'll learn how to build, configure, and publish a real-time chat system, covering all the project steps:

Understanding the Live Chat project
The difference between HTTP and STOMP
Detailed implementation of the STOMP protocol
Configuring WebSocket in Spring Boot
Creating a real-time messaging channel
Deploying Live Chat to AWS

Get ready to dive into the concepts, from backend configuration to frontend integration and final cloud deployment.

Watch until the end to see the project working with multiple devices connected to the real-time chat. 🎉

👉 Follow us on Social Media:

  / buildrun.tech  
  / dev-brunogarcia  
  / build-run  

---------------------------
🔗 Repository with frontend files:

https://github.com/buildrun-tech/buil...

---------------------------
🚀 Also watch these videos:

⭐ RECOMMENDED ⭐
SPRING SECURITY 6 + JWT in practice
   • Guia Definitivo: Spring Security 6 + JWT +...  

Check out our Challenges playlist Backend:
   • Desafios Backend com Java  

---------------------------
00:00 - Intro
00:48 - Checking the final project result
02:11 - Getting to know the Live Chat project
03:45 - Revisiting the HTTP protocol
05:00 - Getting to know the STOMP protocol with Websocket
09:05 - Understanding how the Live Chat project will work with STOMP
13:30 - Starting the Spring Boot project with Websocket and STOMP
14:38 - Configuring Websocket and STOMP within Spring Boot
18:20 - Creating a communication channel to receive new messages
23:45 - Importing the frontend files into the project
25:37 - Testing and fixing the LiveChat project Locally
29:33 - Understanding the Stomp.JS Javascript code in detail
34:00 - Deploying the project to AWS
36:30 - Creating the EC2 Instance Profile in AWS IAM for Beanstalk to use
38:12 - Continuing the project deployment to AWS
39:50 - Testing the project directly on AWS with multiple devices
40:49 - Special message for you

---------------------------
Build & Run

#websocket #springboot #stomp