It is implemented using WebSocket API. It also uses Thymeleaf template engine for rendering UI.
- Spring Boot Framework
- Maven Plug-in configured with your IDE
- mvn clean package
- mvn spring-boot:run Or java -jar target/chatroom-starter-0.0.1-SNAPSHOT.jar
- Open a web browser
- Hit url http://localhost:8080/
- Enter your username
- Click on Login button
- You join the chat room
- To be able to test the app, typically, you'll want to login with different usernames in different browser tabs while the web app is running.
- It will show Online Users count on right-top corner and message sent from any user will be braodcasted to all online users at the moment.