Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seminar 3 + 4 - Packing Domain #4

Open
slezarpetr opened this issue Nov 12, 2024 · 0 comments
Open

Seminar 3 + 4 - Packing Domain #4

slezarpetr opened this issue Nov 12, 2024 · 0 comments

Comments

@slezarpetr
Copy link

As a SW architect I want to:

  1. Prepare a template for the new module that follows the Clean Architecture principles. This includes interface definition for IQueryObject, IRepository and abstract implementation of QueryObject in the Application layer. EF Core DbContext and Query Object and Repository (services) in the Infrastructure layer. Lastly, the typical DDD base classes in the Domain Layer covering Entity, ValueObject, AggregateRoot, and DomainEvent. Don't forget to add an installer for DI injection services registration.

  2. Implement the particular entities and event(s) resulting from the previous event storming session.

  3. Add the event handler for the OrderProcessed event from the Inventory module. Think of translating the event using the Integration Event concept. It is also necessary to create new command for the action of order packing.

  4. Optionally - Divide the layers represented by folders into separate projects to truly understand the impact of clean architecture design. The presentation layer is now empty. You can start by adding the endpoint for processing the OrderProcessed event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant