What is this
This is a simple chat application demonstrating Spring Boot capabilities such as:
- Authentication
- Using sessionModel validation (Login)
- Using cookies (Remember me functionality)
- Using basic authentication
- Self-signed HTTPS connection
- Web socket
- Download/Upload files
- JPA persistence
- Redirecting to login page for logging in, then redirecting to desired page after that
- Caching files in memory for better performance (Reloads file based on date-modified)
- Clearing expired sessionModel after 1-hour idle
- Keeping sessions in memory for better performance
This application also demonstrates some userModel interface capabilities such as:
- Modal
- Toast or notification
- Web socket
- Responsive
- HttpRequest
How to use
Build application with "mvn package"
Run application with "java -jar target/SpringChat-0.0.1-SNAPSHOT.jar"
Use Firefox or Chrome to open https://localhost:62600/
Sign-up at least two userModel accounts
Start chatting, you can do the following:
- Send text massages
- Upload files to create file messageModels
- Download files by clicking on file-messageModels