Theme: e-commerce website.
Each Product in the catalog has a name and a unique identifier Sku.
- Product
- Sku
The structure of the source code is based on the DDD layers:
- API: Entry-point for incoming user requests.
- Application: Orchestration layer, translates API objects <-> Domain models.
- Domain: Entities, Value Objects and all the business logic goes here.
- Infrastructure: Interacts with low level external services like databases.