Skip to content

migueling/domain-driven-design

 
 

Repository files navigation

Gitpod ready-to-code

Domain Driven Design - Lab

Theme: e-commerce website.

Domain Model

Each Product in the catalog has a name and a unique identifier Sku.

Entities

  • Product

Value Objects

  • Sku

Project Structure

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.

About

Practice writing clean code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 98.7%
  • Dockerfile 1.3%