Hexagonal DDD application architecture
+----------+
| Election | Hexagonal architecture
+----------+
| 1 +------------------------------------------+
| | Infrastructure (framework related) layer |
V 0..* | +------------------------------------+ |
+-----------+ | | Application (business logic) | |
| Candidate | | | service layer | |
+-----------+ | | +------------------------------+ | |
| 1 | | | Domain (Election) layer | | |
| | | +------------------------------+ | |
V 0..* | +------------------------------------+ |
+-------+ +------------------------------------------+
| Voter |
+-------+
- build
./mvnw spring-boot:run -f feature # ./mvnw spring-boot:run -f layer
- And use api.http file from IntelliJ IDEA.