Genc/spring-boot-boilerplate
关于
Spring Boot Boilerplate is a starter kit. This project includes : Spring Boot(4.2.0), Spring Data JPA, Spring Validation, Spring Security + JWT Token, PostgreSQL, Mapstruct, Lombok, Swagger (Open API)
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Spring Boot Boilerplate
Spring Boot Boilerplate is a starter kit. This project is a very simple and useful.
Technologies
- Spring Boot (v4.2.0)
- Spring Data JPA
- Spring Validation
- Spring Security + JWT Token
- PostgreSQL
- Mapstruct
- Lombok
- Swagger (Open API)
Customization
- You can customize
token information (secret key, issuer, expiry date)in application.yml file. - You can customize
database connection informationin application.yml file. - You can customize
swagger informationin application.yml file. - You can customize
which endpoints are accessible without token informationin SecurityConfiguration.java file.
Run the Application
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
Postman Collection
Others
License
Apache License 2.0
探索相关项目
加载中…