Kata hexagonal + DDD
One game-jam core on REST, GraphQL and PGlite, measured against layers
The code lives in a private repository; this sheet and the demo, when there is one, show the work.
- Status
- Live demo
- Type
- Developer tool
- Started
- November 2026
- Role
- Architect and sole engineer
- Domains
- software architecture, domain driven design, API design
- Stack
- TypeScript, Nodejs, Fastify, Graphql, Kysely, PostgreSQL, Pglite, Vitest, Hurl
Kata hexagonal + DDD Live demo
One game-jam core on REST, GraphQL and PGlite, measured against layers
Developer tool
Context and problem
Hexagonal and DDD are argued about without numbers. This kata builds the same KataJam contract twice, hexagonal + DDD and a layered control, and measures what five business changes cost each one.
How it was built
425 tests · 4 audits
From the build report, 21 November 2026.
Results
Outcomes as stated in the manifest; the measured figures are the ones with a date.
- Both implementations pass the same 59 black-box Hurl files (46 base scenarios plus 13 change-scenario files) with 473 valid CloudEvents (make ci).
- Five change scenarios measured on both: the hexagonal side touched 40 files and broke 4 tests, the control 20 files and 0 tests (metrics/cs).
- Zero dependency-rule violations under hexagonal and Clean rule sets; domain line coverage 98 %.