Real-World Event Modeling to Code: Sleep on Time Case Study
summary
Event models for Sleep on Time convert mapped journeys into runnable Kotlin + Spring Boot components on the Axoniq Platform, generate command handlers, queries, events and external actions for the CESA lock, and compile the code to prove syntax correctness. The Development Agent edits journeys live (it inserts an intermediate door opening requested event), and alternative flows produce explicit exceptions like container occupied exception. Pre‑sales used five workshops over 1.5 months with 4 internal + 3 client people; goal is 1–2 collaborative sessions for greenfield projects.
AI-written summary · about
chapters (22)
- 0:00Introduction and setup
- 3:05Who we are
- 5:02Introducing Sleep on Time
- 7:41User journeys overview
- 9:12Alternative flows and exceptions
- 12:00Organizational challenges
- 14:42Axoniq platform deep dive
- 15:24Translating journeys to prompts
- 17:02Interactive modeling process
- 19:06Refining journeys with AI
- 21:27Component generation
- 23:17Command and query handlers
- 24:29Interactive message refinement
- 25:47Query handler adjustments
- 26:51Code generation
- 27:45Reducing meetings and docs
- 29:00Platform future and demo
- 30:17Q&A session begins
- 31:24Version control and AI limitations
- 33:40Legacy project integration
- 35:06IDE integration plans
- 36:01Closing remarks
