Project shows, how to use hexagonal architecture in your spring boot applications
- Mysql (Spring Data JPA)
- Redis (Spring Data Redis)
- JDK 17
- this project uses Lombok, so enable annotation processing in your IDE
- this project uses Testcontainers, so run Docker on your local machine
gradle testBootRun
└──com/
└── yourcompany/
├── adapter/ # Adapter logic
│ ├── in/ # Incoming requests adapters
│ │ └── http/
│ └── out/ # Outgoing requests adapters
│ ├── cache/
│ ├── kafka/
│ └── persistense/
├── application # Core logic
│ ├── domain/
│ │ ├── model/
│ │ └── service/
│ └── port/ # Core logic API
│ ├── in/
│ └── out/
└── common/ # Neither business logic nor adapters