This repository contains a Spring Boot application that implements a real-time chat application using WebSockets. The application allows users to send and receive messages in a chat room, and displays the messages in a scrolling list. The application also displays a list of connected users and their status (online or offline).
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Java 8 or higher Maven An IDE (such as IntelliJ IDEA)
Clone the repository to your local machine:
git clone https://github.com/abdullahbakis/spring-boot-websocket-chat-app.git
Import the project into your IDE as a Maven project.
Run the project as a Spring Boot application.
Open a web browser and navigate to http://localhost:8080 to access the chat application.
Spring Boot - The web framework used Maven - Dependency Management WebSockets - Used for real-time communication between the client and server Thymeleaf - Used for rendering HTML templates on the server side SockJS - Used for fallback communication in case WebSockets are not supported by the browser
Abdullah Bakış - abdullahbakis
This project is licensed under the MIT License - see the LICENSE file for details.
This project was developed as a learning exercise and is based on the Spring Boot WebSocket Chat Application guide from the Spring documentation.