This project is a real-time chat application using WebSocket, SocketJS, PicoCSS, Lombok, and Spring. It allows users to engage in instant messaging with each other.
- Real-time messaging: Users can send and receive messages instantly.
- Simple UI: The user interface is built using PicoCSS for a lightweight and minimalist design.
- Backend with Spring: The backend server is implemented with Spring, providing robustness and scalability.
- Lombok for boilerplate reduction: Lombok is used to reduce boilerplate code, making the codebase cleaner and more concise.
You will need to have installed:
- Java 21
- Maven
-
Clone the repository to your local machine using
git clone https://github.com/xrimsonn/real-time-chat-spring.git
. -
Navigate to the project directory.
-
Run the command
mvn install
to download dependencies. -
Run the Spring Boot application using
mvn spring-boot:run
.
The backend server should now be running and you can go to the index on http://localhost:8080.
-
Open the frontend application in your web browser.
-
Enter your username and join the chat room.
-
Start sending and receiving messages in real-time.
Enjoy chatting with other users in real-time!