Cratis scenarios for building application workflows
Cratis scenarios help you build a specific application behavior or solve a configuration problem. Choose the outcome you need: matching MongoDB names, an event-sourced Library workflow, or a chat page that updates as messages arrive.
The Library tutorials connect Chronicle events to Arc commands and queries and a React interface built with Components. The chat guides focus on Arc’s observable queries, which push changed results to the frontend. You do not need every Cratis product for every scenario.
What you will find here
Section titled “What you will find here”| Section | What you can do |
|---|---|
| Camel casing | Make Chronicle projections and Arc MongoDB access agree on field and collection names. Start with an application using both integrations. |
| Vertical slices | Register and list Library authors, then add automation and external-event translation. Follow the tutorials in order; each builds on the previous context. |
| Real-time chat | Deliver messages to a live multi-room chat. Start in memory, then choose RabbitMQ, frontend-managed state, or incremental pushes. The incremental-push backend is shown in C# only. |
Approach
Section titled “Approach”Choose your backend before following a guide. Examples use C#, Kotlin, Java or TypeScript where that backend supports the step; the series pages explain the differences. For backend setup, start with Arc backends, then use the prerequisites on the guide you choose.
A vertical slice follows one behavior through the layers it needs, such as submitting a command and displaying the resulting read model. The Library series teaches that sequence. If you already have an application and need one naming fix or a different way to deliver live query results, go directly to the relevant how-to.