feat: end-to-end example demonstrating the four core ideas
This commit is contained in:
3 files changed
+70
No files matched your search
@@ -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.
|
||||
````
|
||||
Reference in new issue
Block a user