Skip to main content

DDD artifacts (ddd-crew)

The artifact pack follows the ddd-crew tools. Each page is checked against the code on this branch; every Mermaid diagram carries a Source: line naming the code files it was derived from. The design model lives in warehouse-docs (Customer Payments context pages); where the built service differs from the model, the pages here follow the code.

PageWhat it holdsddd-crew tool
Core domain chartWhy the context is Generic: differentiation against complexityCore Domain Charts
Bounded context canvasPurpose, roles, every inbound and outbound message, decisions, metrics, open questionsBounded Context Canvas v5
Context mapEvery neighbour, direction and pattern, including the provider ACLContext Mapping
Aggregate design canvasPaymentAuthorization and Refund: states, invariants, commands, eventsAggregate Design Canvas v1.1
Domain message flowAuthorize, capture, parked facts, release, refund, re-authorizeDomain Message Flow Modelling
EventStormingProcess boards and hotspotsEventStorming cheat sheet
Ubiquitous languageTerms and code identifiersBounded Context Canvas (language section)
Class diagramDomain model, ports and adapters as builtUML
Entity relationshipThe Postgres schema of the single migrationER
Sequence diagramsAdapter to Postgres, Kafka and provider for each flowUML
Domain eventsPublished and consumed events, pointers to the catalogueMessage catalogue

Also in this section: Use cases (one section per command, query, consumer and policy) and Subdomain classification.