/spring-boot-ddd-boilerplate

A DDD style boilerplate with spring boot

Primary LanguageJavaApache License 2.0Apache-2.0

spring-boot-ddd-boilerplate

A DDD style boilerplate with spring boot

tech selection

  • Java 8
  • Spring Boot 2
  • Spring Data Jdbc
  • Apache Shiro
  • Mysql
  • Maven
  • Flyway
  • RBAC

principle

  • DDD is not goal,the goal is to make architecture be clear.
  • Low boilerplate code.
  • Necessary layering.
  • Easy to use and understand.
  • Feature limited.
  • Lightweight.
  • Cache Friendly

features

  • Project structure include Model\DTO Design.
  • API design.
  • Exception system design.
  • With a small CMS as business example.
  • With multiple applications layers.
  • paging/sort/search for list

focus goal

  • generic query framework