zukovlabs /
enterprise-java-saas-starter-kit
Production-ready SaaS boilerplate. Java 21, Spring Boot 3.4, Angular 22, MSSQL & Docker. Community Edition.
Loading repository data…
rimmelasghar / repository
Spring Boot Boilerplate is a starter kit for developing production ready SpringBoot Applications. This project includes : Spring Boot(3.1.2), Spring Data JPA, Spring Validation, Spring Security + JWT Token, MySQL, Mapstruct, Lombok, Swagger.

Spring Boot Boilerplate is an advanced foundation designed to facilitate the development of robust, production-ready Spring Boot applications. This comprehensive project encompasses a cutting-edge technology stack, featuring Spring Boot (version 3.1.2), Spring Data JPA, Spring Validation, Spring Security with JWT Token support, MySQL integration, Mapstruct for seamless data mapping, Lombok for concise code generation, and Swagger for streamlined API documentation.
$ git clone https://github.com/rimmelasghar/SpringBoot-boilerPlate.git
$ cd SpringBoot-boilerPlate
Make sure you have docker and docker-compose installed docker installation guide
create .env file in root folder.
DB_ROOT_PASSWORD=mySecretRootPass
MYSQL_DATABASE=yourdbname
MYSQL_USER=yourdbusername
MYSQL_PASSWORD=dbpasswword
JWT_ISSUER=https://github.com/rimmelasghar
SWAGGER_CONTACT_MAIL=youremail
SWAGGER_CONTACT_URL=yourwebsite
SWAGGER_APP_NAME=Spring Boot Boilerplate Project
SWAGGER_APP_VERSION=2.0.0
SWAGGER_APP_LICENSE_URL=https://www.apache.org/licenses/LICENSE-2.0.html
SWAGGER_APP_LICENSE=Apache 2.0
This .env file contains the essential environment variables needed for your application to run.
Open a terminal or command prompt, navigate to your project's root folder, and run the following command to build the Docker images:
docker-compose build
This command will create Docker images based on the configurations defined in your docker-compose.yml file.
After the Docker images are built, run the following command to start your application:
docker-compose up
Now, your application will be up and running. You can access it in your web browser at http://localhost:8000.
Spring Boot 3.1.2: The application is built using the latest version of Spring Boot, providing a solid foundation for developing robust and efficient Spring applications.
Spring Data JPA: Spring Data JPA simplifies database access using the Java Persistence API (JPA) and provides easy-to-use repositories for interacting with the database.
Spring Validation: The application implements Spring Validation to ensure data integrity and validity, making it more reliable and secure.
Spring Security + JWT Token: Spring Security is integrated into the application to handle authentication and authorization. It uses JSON Web Tokens (JWT) for secure token-based authentication.
MySQL: The application is configured to use MySQL as the backend database, allowing for persistent data storage.
Mapstruct: Mapstruct is used to simplify the mapping between DTOs (Data Transfer Objects) and entities, reducing boilerplate code and enhancing maintainability.
Lombok: Lombok reduces the verbosity of Java code by providing annotations to automatically generate boilerplate code for getters, setters, constructors, etc.
Swagger: The application includes Swagger, a powerful tool for documenting and testing APIs. Swagger UI provides an interactive API documentation that makes it easy for developers to understand and use the API endpoints.
These features collectively form a strong foundation for developing production-ready Spring Boot applications, saving development time and effort and ensuring best practices are followed throughout the development process.


To contribute to this project, follow these steps:
git checkout -b feature/your-featuregit commit -m 'Add some feature'git push origin feature/your-feature.This project is licensed under the MIT License.
Reach out to me rimmelasghar4@gmail.com
made by Rimmel Asghar with ❤️
Selected from shared topics, language and repository description—not editorial ratings.
zukovlabs /
Production-ready SaaS boilerplate. Java 21, Spring Boot 3.4, Angular 22, MSSQL & Docker. Community Edition.
cpt-chewieeee /
My Java Spring Boot Boilerplate + PSQL + docker/compose + Basic Auth
joaov1ct0r /
Backend boilerplate for a basic application
faizkhairi /
Full-stack Vue 3 + Spring Boot 3.3 boilerplate — zero external dependencies. JWT auth, PostgreSQL, Flyway, OpenAPI, Shadcn-vue, Docker Compose.
obrenoalvim /
Spring Boot backend starter with login, security and tests ready to go. Start building your API right away