Tutorials
Build complete modules from scratch, with the reasoning behind each step. The code in both tutorials has been through cargo clippy and HTTP feature tests (app.post(endpoints::linker_url())…), so you can copy it and it runs.
| Tutorial | Uses | Time |
|---|---|---|
| A searchable customer list | Model + policy, Stateful Linker, state, dom.repeat with a first-render seed, confirmation | 25 minutes |
| A multi-step wizard | Stateful Linker, a server-side step guard, data-state-is-class, a catch pipeline | 25 minutes |
Before you start, read the Mental model, and make sure laravel dev runs and the /runtime demo works.
Both need a logged-in user (the Linker endpoints always require a login). Locally you can use "log in with the demo account" on /runtime first.
When you're done, compare with the examples in the project:
/runtime:src/cg/counter.rs(Stateful),src/cg/greeter.rs(Stateless),src/cg/clock.rs(fragment)tests/runtime.rs: HTTP tests for those examples; model your own tests on them