Cratis Readmodel

Step-by-step guidance for creating a Cratis Chronicle read model from scratch — defining events, choosing between projection and reducer, [ReadModel] record with static query methods, and the generated TypeScript proxy in React. Use when creating a read model, working with [EventType], [ReadModel], IProjectionFor, IReducerFor, observable queries, or deriving state from events. For adding a projection or reactor to an existing read model, use add-projection instead.

Cratis Updated 4 repo stars

File contents

Cratis/AI commit 0811a7983a

Frequently asked questions

npx get-skill add cratis/cratis-readmodel