feat: end-to-end example demonstrating the four core ideas

This commit is contained in:
chrnx committed 2026-06-26 01:04:24 -05:00
1 parent 221a230270
commit 04c8b3a743
3 files changed
+70

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
````markdown
# green-tea example
```bash
npx ts-node example/server.ts # or: npm run build && node dist/example/server.js
curl -H 'x-token: u1' http://localhost:3000/api/users/9
```
Demonstrates: typed context contract, graph-derived order, `app.inspect()`,
and a logger plugin that observes the bus without touching the chain.
````