docs: restructure README around the plugin-author path, add examples/README, genericize the plugin walkthrough

This commit is contained in:
2026-06-30 23:30:13 +02:00
parent fe97c3854a
commit 4adf14f386
3 changed files with 179 additions and 132 deletions
+6
View File
@@ -0,0 +1,6 @@
# examples/
| Folder | Example of |
| --- | --- |
| [`scheduling-plugin/`](scheduling-plugin/) | The reference plugin you copy into `plugins/`: a list page over an upstream REST service, a CSRF-guarded form that forwards a write, and permission-gated nav — built from the core building blocks, holding no state. See its [README](scheduling-plugin/README.md) and the [plugin contract](../README.md#building-plugins). |
| [`shifts-upstream/`](shifts-upstream/) | A throwaway mock backend the reference plugin reads/writes — stdlib-only, in-memory, no auth. Stands in for your real service so `docker compose up` shows the plugin working out of the box; in production you point `SCHEDULING_UPSTREAM` at the real thing instead. |