A real-time web chat application built using Spring Boot, WebSockets, STOMP, and Thymeleaf.
This application enables multiple users to communicate instantly through a shared chat interface.
🌐 https://chatapplication-3-0ixj.onrender.com
Note: Since the app is hosted on a free Render instance, it may take 30–50 seconds to wake up after inactivity.
- ⚡ Real-time messaging using WebSockets
- 📡 Communication using STOMP messaging protocol
- 🧠 Backend powered by Spring Boot
- 🎨 Dynamic frontend using Thymeleaf
- 🌌 Modern UI with animated Aurora background
- ❄ Snowfall and star animations
- 👥 Multi-user chat support
- 📦 Dockerized deployment
- ☁ Cloud deployment using Render
- Java
- Spring Boot
- Spring WebSocket
- STOMP Protocol
- HTML
- CSS
- JavaScript
- Thymeleaf
- Render Cloud
-
A user opens the chat page in their browser.
-
The frontend establishes a WebSocket connection with the server.
-
Messages are sent to the backend endpoint: /app/sendMessage
-
The Spring Boot server processes the message.
-
The message is broadcast to all connected users through:
-
Every connected client instantly receives the new message.
Clone the repository:
git clone https://github.com/xnisha-verma/ChatApplication.git
cd ChatApplication/App
./mvnw spring-boot:run
http://localhost:8080