REST API built with Spring Boot, focused on JWT-based authentication and RSA security, following Clean Architecture (Ports and Adapters) principles, with strong emphasis on security, maintainability, and scalability.
- Clean Architecture (Ports and Adapters / Hexagonal)
- Business rules isolated from frameworks and security infrastructure
- Clear separation between domain, application and adapters
- Security implemented as an external concern
- Java
- Spring Boot
- Spring Security
- JWT
- RSA (Asymmetric Cryptography)
- JPA (Hibernate)
- Flyway
- MapStruct
- Spring Validation
- JWT authentication with RSA key pair signing and verification
- Stateless security configuration using Spring Security
- Clean Architecture implementation
- Global exception handling with
@RestControllerAdvice - Request validation using Spring Validation
- Database versioning with Flyway
git clone https://github.com/pietroBragaAquinoJunior/spring-boot-security-clean-architecture
cd spring-boot-security-clean-architecture
./mvnw spring-boot:run