Devadex

Spring Boot 3 JWT Security Starter — Production Ready

gumroad   €39.00   by ouhaddou2
33d old

🔐 Spring Boot 3 JWT Starter — Auth, Roles & Docker ReadyStop wasting days setting up authentication from scratch.This starter gives you a production-grade JWT security layer in under 10 minutes.---✅ WHAT YOU GET• Full auth flow — Register / Login / Refresh / Logout• HMAC-SHA256 signed JWT access tokens (15 min TTL)• Rotating refresh tokens stored in DB (7 days TTL)• Role-based access control — ROLE_USER / ROLE_ADMIN• BCrypt password encoding• Spring Security 6 stateless filter chain• Clean RFC 9457 error responses• Docker Compose (app + PostgreSQL) — one command to run• GitLab CI pipeline — Build → Test → SonarQube → Docker push• Integration tests with H2 (no Docker needed for tests)• .env.example fully documented• Professional README with API reference---🚀 UP AND RUNNING IN 5 MINUTES🔗 Live Demo: https://mouadovic22.github.io/jwt-security-starter-demo/1. Clone the project2. Copy .env.example to .env3. Run: docker compose up -d4. Done — API live at http://localhost:8080---🏦 BUILT FROM REAL BANKING EXPERIENCEThis is not a tutorial project.I'm a Tech Lead Java with 13 years of experience in banking environments (BNP Paribas, HSBC, Crédit Agricole CIB). The JWT filter, token rotation logic, and security configuration in this starter are based on patterns used in real production systems handling millions of transactions.---🛠️ TECH STACKJava 17 · Spring Boot 3.3 · Spring Security 6 · JJWT 0.12PostgreSQL · Docker · GitLab CI · SonarQube · JUnit 5 · Mockito---📦 WHAT'S INCLUDED18 files, fully structured Maven project:/config — SecurityConfig, ApplicationConfig, GlobalExceptionHandler/filter — JwtAuthenticationFilter/service — AuthService, RefreshTokenService/util — JwtUtil (HMAC-SHA256)/entity — User, Role, RefreshToken/dto — RegisterRequest, LoginRequest, AuthResponse, RefreshTokenRequest/controller — AuthController, DemoController+ pom.xml · docker-compose.yml · Dockerfile · .gitlab-ci.yml · .env.example · README.md---📄 LICENSESingle-developer license. Use in one commercial project.---Questions? Contact me at mouad.ouhaddou@gmail.com

Get it → ouhaddou2.gumroad.com

Found on Devadex — the discovery index for independent software the big search engines bury. More from gumroad.

Report this listing