This is a sample application aiming to showcase an example implementation of hexagonal architecture using TypeScript.
The application is concerned with bank accounts and transfers between them.
- Account
- AccountHolder
- DebitAccount
- ViewCurrentBalance
- OpenAccount
- CloseAccount
Contains all domain objects (aggregates, entities, values, ...) and tests related to them.
Contains primary ports for all use cases the application implements.
Contains all infrastructure related adapters (e.g. PostgresAccountRepository
).
Contains everything related to the exposed REST API.