Basic stateless token authentication in Spring Boot 3 (Spring & Spring Security 6) Email && Password authorization Simple example repo
- Java 21
- Spring Boot 3
- Spring 6
- Gradle
- MySql (in docker)
- Postman (for testing)
- Clone the repository
- Copy .env.example to .env
- Run docker compose db:
- you may need to delete
MYSQL_USER
from .env - then run docker compose db
- then revert that change
- you may need to delete
- Run application
- Run healthcheck from Makefile to check if everything works fine
- Import postman endpoints and test if everything works correctly