Basic JWT authentication API using Spring Boot and MySQL.
The JWT is stored in an HTTPOnly cookie and sent to the client in a JSON response.
You may want to change the SQL settings in the application.properties file as well as the JWT secret.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Data JPA
The following guides illustrate how to use some features concretely: