Samples
:::tip How to run Each sample is a standalone Gradle project. Open the sample folder directly in IntelliJ IDEA (File → Open → select the sample directory) — do not open the root MediatorK project. :::
Basic
Smallest end-to-end demo: a Todo domain with a command, a query, and a notification. No framework overhead.
Android: University Management
Jetpack Compose app modeling a university domain (courses, departments, instructors, students). Shows vertical slice architecture with multiple feature slices, validators, handlers, and domain models.
Ktor: Prayer Times (Vertical Slice)
Ktor (Netty) HTTP server fetching prayer times and Islamic month data from the Aladhan API. Pure vertical slice architecture: each feature (prayer times, Islamic months) is a self-contained slice with its own handler, model, and registrar.
Spring Boot: Prayer Times (Vertical Slice)
Spring Boot WebFlux REST API with the same features as sample-ktor. Demonstrates vertical slices with Spring component scanning and dependency injection — each feature owns its request, handler, registrar, and controller.
Kotlin/JVM: Full Showcase
Plain JVM sample covering commands, queries, notifications, pipeline behaviors, and a complete vertical invoice slice with streaming, validation, and transaction support.