Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.06 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.06 KB

Spring boot starter kit

An opinionated kit to start hacking in SpringBoot

What is included?

  • a gradle configuration with separate modules
    • dto: Data tranfer objects
    • persistense: DB resources and Entities
    • service: Business logic
    • web: the Spring Boot application
  • H2 used as the temp in-memory db
  • a sample flow to get/set a User entity and the consequent parts:
    • UserRequestDto/UserResponseDto in dto module
    • UserDao/UserRepository in persistence module
    • UserConverter\UserService\UserUtils\UserValidator in service module
    • UserController in web module

Gradle tasks

cd application
./gradlew clean build
./gradlew test
./gradlew codeCoverage
SPRING_PROFILES_ACTIVE=development ./gradlew sbsk-web:bootRun

Verify running application