Spring-Security-BoilerPlate
Boilerplate Spring Boot Project With Spring Security for Authentication and Authorization REST API
javasecurityboilerplatespringspring-bootspring-security
FreeRepo
Overview
Spring Auth Boilerplate is a production-ready Spring Boot template for building authentication services. It provides JWT-based login flows, user management, role-based access control, email verification, password reset and containerized deployment with PostgreSQL, Redis and SMTP, using Java 21, Spring Boot 3.x and Docker.
Features
jwt-authenticationuser-registrationemail-verificationpassword-resetrole-based-authorizationrefresh-token-rotationuser-managementpaginationsearchflyway-migrationsredis-cachingsmtp-email-deliveryapi-response-contractmulti-device-sessions
Feature Flags
userDashboardauthenticationblogemailsauthorizationsearchcachingformsValidation
Recommended Use Cases
authentication-servicerest-api-backendmicroserviceuser-management-system
Frontend
None
Backend
spring-bootjavaspring-securityspring-data-jpa
Auth Providers
jwtspring-security
Deployment Targets
dockerdocker-compose
Payment Providers
None
Quick Facts
Stack
Framework
spring-boot
Language
java
Database
postgresql
Auth
jwt, spring-security
ORM
spring-data-jpa
Data Layer
Databases
postgresql, mysql, redis
ORM
spring-data-jpa
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
Pricing
Classification
free
Selected
โ
Notes
Open source boilerplate