Skip to content

Minimal project where I tackle the challenge of maintaining invariants on two entities of a model

License

Notifications You must be signed in to change notification settings

SenhorCastor/leave-transaction-control-to-the-client

Repository files navigation

leave-transaction-control-to-the-client

Minimal project where I tackle the challenge of maintaining invariants on two entities of a model

For a description of the project, go to Let transaction control to the client Medium Story.

Main classes

App, where dependencies are injected and flow is triggered.

Repos, Mongo implementation of the repos.

Transaction, Mongo implementation of transaction.

Use Cases, where the domain logic resides.
Entities.

Layer Dependency

[App])(https://github.com/SenhorCastor/leave-transaction-control-to-the-client/blob/main/app/build.gradle.kts).

Repos.

Transaction.

Use Cases.

Entities.

In hindsight, Transaction and Repos should be in the same module

Diagrams

Layererd Architecture

UML Diagram

About

Minimal project where I tackle the challenge of maintaining invariants on two entities of a model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages