Skip to content

Instantly share code, notes, and snippets.

@pereiren
Last active July 29, 2021 23:01
Show Gist options
  • Save pereiren/ed91e24d521f467802ddfac1ad4042c2 to your computer and use it in GitHub Desktop.
Save pereiren/ed91e24d521f467802ddfac1ad4042c2 to your computer and use it in GitHub Desktop.
├── src
│ ├── Api # API layer
| | ├── UseCases # API business rules in use cases
| | | ├── GetTodos # Use Case to get all the todo tasks
| | | | ├── TodoController.cs # Todo Controller for the Get All
| | | | ├── GetTodosPresenter.cs # Presenter
│ ├── Application # Application layer
| | ├── Boundaries # Input and output ports helping us to cross boundaries
| | ├── Services # Application services to handle application business logic
| | ├── UseCases # Use cases interactors
│ ├── Domain
| | ├── Aggregate root folders # Domain layer following DDD
| | ├── (entities, domain services and repositories interfaces per aggreagate root)
│ ├── Infrastructure # Infrastructure layer
| | ├── Repositories # Implementation of our repositories
| | ├── Clients # i.e. implementation of some http clients to retrieve data
└── ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment