DDD context map template
A domain-driven design context map: bounded contexts sorted into core, supporting and generic, with the relationships between their teams.
Use this templateFree, opens in your browser. No sign-up.
What's on the board
- Relationships
- OHS / PL: upstream offers a stable API and format · Customer / supplier: downstream's needs shape upstream's plan · Conformist: downstream takes upstream's model as is · ACL: downstream translates, so the other model can't leak in · Shared kernel: a small model two teams own together
Also on the board
- Ordering and Pricing are where we win: our best people work there
- Catalog Product, Variant, Category
- Customer accounts Customer, Address, Tier
- Shipping Parcel, Carrier, Label
- Ordering (core) Order, Cart, Checkout
- Pricing (core) Price, Promotion, Discount
- Legend
- Core domain
- Supporting
- Legacy ERP Article, Lager, Beleg
- Payments Payment, Refund
- Stripe PaymentIntent, Charge
- Generic
- External / legacy
How to use this template
- Click Use this template. It opens in the Kelvo app as a new board, saved in your browser.
- Double-click any box to change its text. Replace the examples with your own content.
- Sketch, then convert. Draw boxes and arrows with the pen, select the strokes and click Convert sketch: they become real boxes and links.
- Ask Kelvo right on the board (Pro). With Pro, type @kelvo and what you want in any box or text, for example “@kelvo add error handling”, and press Enter. The change is made there and the request disappears; ⌘Z undoes it.
- One page per level. Put the C4 context view on one page and the container view on the next, so each diagram stays readable.
Good for
- architect
- ddd
- domain-driven design
- bounded context
- context map
- Agreeing on boundaries and responsibilities between services
- Recording why a design was chosen (and what was rejected)
- Comparing integration options side by side
Related templates
Hexagonal architecture (ports & adapters)
Keep business logic independent: driving adapters call inbound ports, the core uses outbound ports that adapters implement.
CQRS + event sourcing
Separate write and read paths: commands append events to an event store, projectors build read models for queries.
C4 system context diagram
C4 level 1: the system in scope, the people who use it and the external systems it depends on, with a legend.
C4 container diagram
C4 level 2: the apps, APIs, databases and queues inside the system boundary, with the technology on each link.
Microservices with API gateway
Clients behind an API gateway, services that each own their database, and an event bus for asynchronous work.
LLM application architecture
Production building blocks around a model: gateway, guardrails, orchestrator, cache, vector DB, tools and observability.