Code Genie Documentation

Code Genie is a visual design workspace for modelling software systems with Domain-Driven Design, EventStorming, CQRS, and Event Sourcing patterns. Use these docs to move from a blank infinite canvas to generated, hosted software on SAAScade Cloud.

What You Can Do With Code Genie

Code Genie helps architects, product managers, domain experts, and developers describe the behaviour of a business system visually. You drag blocks onto the canvas, connect them into a story, configure the important details, and let Code Genie generate the software structure from the model.

System Capabilities

Code Genie is designed for and excels at building real-time, event-driven, enterprise-grade software systems. It supports:

  • Real-time event processing and streaming
  • Event Sourcing for auditable histories
  • CQRS with separate read models for fast, scalable queries
  • Projections and policies to coordinate complex workflows
  • Multi-region deployment, security, and governance for large-scale environments

These capabilities apply across domains like commerce, logistics, finance, healthcare, and more.

  • Discover a business process by starting with domain events.
  • Design command flows, business policies, aggregates, read models, and integrations.
  • Generate application code from a validated model.
  • Deploy generated systems to SAAScade Cloud when you want hosted infrastructure managed for you.
  • Keep the canvas as living documentation for product, architecture, and development teams.

Start Here

  1. Read Getting started for the shortest path from idea to first model.
  2. Use Canvas building blocks when you need to configure a command, event, aggregate, policy, or read model.
  3. Try Hello World or the TODO example if you want the smallest possible models first.
  4. Follow Your first EventStorming model to build a working flow.
  5. Review Generate and host a system before creating code or deploying to SAAScade Cloud.

The Modelling Style

Code Genie supports CRUD-style systems, and the docs include a couple of simple CRUD examples because many internal tools need them. The bigger payoff comes when you model business intent: commands such as Approve Claim, events such as Claim Approved, policies such as Notify Repair Partner When Claim Approved, and aggregates such as Claim that protect business rules.

That distinction matters because Code Genie is not just drawing boxes. It uses your model as generation input. Clear names, useful boundaries, and explicit rules lead to clearer generated code and a system that matches how the business actually works.

Documentation Map

Concept Guides

Block Guides

Examples and Reference