Skip to content
CAI
Produce a survey ↗Verify a survey

htnk128/kotlin-ddd-sample

This system is a Domain-Driven Design reference implementation built with Kotlin and Spring WebFlux, structured around distinct bounded contexts for account and address management. It provides RESTful APIs to create, read, update, and delete accounts and associated addresses, while enforcing domain integrity through value objects, repositories, and domain events. The architecture separates core domain logic from infrastructure concerns, utilizing a modular design with shared abstractions for event publishing and error handling.

59.3

Adequate · 3 August 2026

3.2k

lines of production code

Kotlin

primary language

1

bus factor · 3 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2018–2019 · DDD domain model implementation

The project was refocused on Domain-Driven Design, evidenced by the renaming to 'kotlin-ddd-sample' and the introduction of core domain models for Account and Address. This period involved establishing the foundational domain logic, including entities, value objects, and domain events, alongside corresponding database migrations and comprehensive unit tests.

10 changes

2020–2022 · DDD architecture and API implementation

This period focused on establishing a Domain-Driven Design architecture, introducing core domain abstractions, repositories, and domain models for account and address management. The work also involved implementing Spring WebFlux/Boot infrastructure, including REST controllers, error handling, and database utilities to support these domains.

5 changes

CAI lens gauges

Survey your own repository

htnk128/kotlin-ddd-sample was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit e8f038c29f — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards