Skip to content

Local Dev: working examples for rule authors#273

Merged
harry-anderson merged 2 commits intolocal-dev-setupfrom
local-dev-examples
Feb 25, 2026
Merged

Local Dev: working examples for rule authors#273
harry-anderson merged 2 commits intolocal-dev-setupfrom
local-dev-examples

Conversation

@harry-anderson
Copy link
Collaborator

@harry-anderson harry-anderson commented Feb 22, 2026

Adds 9 working example rules to the local-dev environment covering the plaid-stl API surface. All examples compile to WASM and are wired into the docker-compose setup from #272.

Examples

Example What it teaches Difficulty
echo-json Parse JSON webhook, return response Beginner
counter Persistent storage vs in-memory cache Beginner
cron-heartbeat Timer-triggered rule Beginner
webhook-router Chain rules via logback Beginner
rate-limiter Cache-based rate limiting Intermediate
request-logger HTTP headers, query params Intermediate
todo-api Full CRUD API with storage Intermediate
http-proxy Outbound HTTP via named requests Advanced
error-handling thiserror + set_error_context Advanced

Also includes a rules README with curl test commands and an "Anatomy of a Rule" guide for new authors.

Depends on #272.

@harry-anderson harry-anderson changed the title feat: add 9 working examples for rule authors Local Dev: working examples for rule authors Feb 22, 2026
@harry-anderson harry-anderson marked this pull request as ready for review February 25, 2026 06:00
@obelisk
Copy link
Owner

obelisk commented Feb 25, 2026

We should merge this before #272 right?

@harry-anderson
Copy link
Collaborator Author

@obelisk yep, i just didnt want to have mega size PR 🤣

@harry-anderson harry-anderson merged commit f1fb1ec into local-dev-setup Feb 25, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants