I followed a tutorial on YouTube to build this chat application. You can watch the tutorial for detailed instructions on how to create a similar application:
- Github by Bouali Ali
During the development of this application, I utilized the following technologies:
- Spring Boot: A powerful Java framework for building web applications.
- WebSocket: A communication protocol for real-time, full-duplex communication between a client and a server.
- STOMP (Simple Text Oriented Messaging Protocol): A messaging protocol that defines the format and rules for data exchange.
- SockJS: A JavaScript library that provides a WebSocket-like object in browsers that don't support WebSocket.
- Clone this repository to your local machine.
- Make sure you have Java and Maven installed.
- Navigate to the project directory in your terminal.
- Run the following command to start the application:
mvn spring-boot:run
Here are some screenshots of the chat application:
For further information, you can refer to the following resources:
- Spring Framework Reference Documentation: You can explore the official documentation for detailed information about Spring Boot and other Spring technologies.
- WebSocket API Documentation: Visit the WebSocket API documentation on MDN Web Docs for more information about WebSockets.