A comprehensive Spring Boot backend starter template including JWT, Google OAuth2, Microservices, S3, Rate Limiting, and more.
Category
Backend
Status
Completed
GitHub Stats
Created
Oct 23, 2025
Last Updated
Dec 20, 2025
In this project, I've prepared a https://github.com/Autumnnus/spring-boot-starter-template" title="spring-boot-starter-template GitHub repository">Spring Boot-based backend starter template. It comes ready with JWT auth, Google OAuth2, email flows, rate limiting, idempotency, S3 media management, and a notification microservice.
When setting up a new REST API, it takes time to reassemble layers like security, error management, logging, file uploads, and real-time notifications for every project. Especially getting the modular structure, deterministic API responses, and production-like defaults right from the start slows down the initiation.
In this template, I've separated domain modules and common infrastructure into distinct layers. I've consolidated the auth flow with JWT and OAuth2, RBAC and ABAC control, the global exception handling structure, trace ID-based logging, and rate limiting with Bucket4j into a single framework. Additionally, I've connected PostgreSQL, Redis, RabbitMQ, Elasticsearch, and S3-compatible media streaming, and established a real-time notification pipeline with a separate notification service supporting WebSockets.
What emerged is not just an empty starter, but a backend backbone that works close to a real project. After setup, Swagger, the OAuth test page, Redis, RabbitMQ, Elasticsearch, Kibana, and the notification service can be brought up together.
Java 17, Spring Boot, Spring Security, JWT, OAuth2, Spring Data JPA, PostgreSQL, Redis, RabbitMQ, WebSocket, Elasticsearch, Spring Mail, Thymeleaf, Springdoc OpenAPI, Bucket4j, ModelMapper, H2, Docker