Spring Boot Boilerplate is a starter kit. This project includes : Spring Boot(v2.7.10), Spring Data JPA, Spring Validation, Spring Security + JWT Token, PostgreSQL, Mapstruct, Lombok, Swagger (Open API)
Spring Boot Boilerplate is a starter kit. This project is a very simple and useful.
token information (secret key, issuer, expiry date)
in application.yml file.database connection information
in application.yml file.swagger information
in application.yml file.which endpoints are accessible without token information
in SecurityConfiguration.java file.First you need to make sure that the database is up.
If you're using Docker, you can use docker compose up -d
command. (If you have made changes in local, you should use the local-docker-compose file.)
Navigate to the root of the project. For building the project using command line, run below command :
mvn clean install
Run service in command line. Navigate to target directory.
java -jar spring-boot-boilerplate.jar
Apache License 2.0