Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 567 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 567 Bytes

#ATM Spring Boot API hexagonal architecture

#Project Anatomy

In Adapters (Web)

  • BankAccountController
  • BankAccountService

Out Adapters (Persistence)

  • BankAccountRepository

In Port

  • DepositUseCase
  • WithdrawUseCase
  • GetAccountBalanceQuery

Out Port

  • LoadAccountPort
  • SaveAccountPort

Domain

  • BankAccount

Java 11/Spring Boot 2.5.2/Lombok/H2 Database/Swagger

#Unit/Integration testing

Junit/MockMvc/MockBean/WebMvcTest

References:

https://jivimberg.io/blog/2020/02/01/hexagonal-architecture-on-spring-boot/

https://reflectoring.io/spring-hexagonal/