Skip to content
/ springonion Public template

🧅 Opinionated Spring Boot + Onion Architecture template

License

Notifications You must be signed in to change notification settings

rkondratowicz/springonion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

springonion

Opinionated Spring + Onion Architecture template

The project is organised using the clean/onion/haxagonal architecture and contains 3 modules:

  • domain - a place for entities and business logic. Does not have dependencies on other modules
  • application - connects intrastructure with the domain. Defines ports (interfaces) that are implemented in the infrastructure module. Has a dependency on the domain module.
  • infrastructure - the outer layer of the app. Used for communication with the outside world (web APIs, DBs, queues, etc.)

What's included

  • Java 21
  • Gradle
  • Lombok
  • Spring Boot
  • AssertJ
  • Mockito
  • .editorconfig

About

🧅 Opinionated Spring Boot + Onion Architecture template

Topics

Resources

License

Stars

Watchers

Forks

Languages