This is a simple chat application demonstrating Spring Boot capabilities such as:
- Authentication
- Using session 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 session after 1-hour idle
- Keeping sessions in memory for better performance
This application also demonstrates some user interface capabilities such as:
- Modal
- Toast or notification
- Web socket
- Responsive
- HttpRequest
- Build application with "mvn package"
- Run application with "java -jar target/simplechat-0.0.1-SNAPSHOT.jar"
- Use Firefox or Chrome to open http://localhost:62600/
- Sign-up at least two user accounts
- Start chatting, you can do the following:
- Send text massages
- Upload files to create file messages
- Download files by clicking on file-messages
Masoud Taghavian (masoud.taghavian@gmail.com)
Enjoy!