Example: memory store for testing and prototyping #30

Open
opened 2026-02-19 22:28:40 +00:00 by ash · 0 comments
Owner

What

Minimal example using in-memory store. For tests, prototypes, and learning.

Must Demonstrate

  • All 3 event modeling patterns in minimal code
  • In-process CommandBus
  • In-memory projections
  • TodoList automation
  • Given/When/Then test DSL
  • How to write tests for your deciders
  • How to swap stores (memory → SQLite → Postgres → NATS) by changing one line

Why

This is the "learn eskit in 5 minutes" example. Zero infrastructure. go test ./... and see everything work.

## What Minimal example using in-memory store. For tests, prototypes, and learning. ## Must Demonstrate - All 3 event modeling patterns in minimal code - In-process CommandBus - In-memory projections - TodoList automation - Given/When/Then test DSL - How to write tests for your deciders - How to swap stores (memory → SQLite → Postgres → NATS) by changing one line ## Why This is the "learn eskit in 5 minutes" example. Zero infrastructure. `go test ./...` and see everything work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ash/eskit#30
No description provided.