Skip to content

API with ATM operations in hexagonal architecture

Notifications You must be signed in to change notification settings

felipesalvadordev/atm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#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/

Releases

No releases published

Packages

No packages published

Languages