Examples · examples/board
Board
A live kanban board a small team works on at once: everyone sees the others' changes as they happen, and who is where.
What it shows#
- Drag and drop, with a move shown before the server has it
- A channel publishing each change to everyone on the board
- Presence, and an edit lease on each card, kept in Kv
- Ranks that keep the order when two people move cards at once
Screenshots#
What it's made of#
- Its browser half
- 374.9 KB
- wasm, brotli; 493.8 KB gzip
- Pages and endpoints
- 3 + 20
- route files' pages, and handlers
- Lines of Roc
- 3,525
- its own .roc and .rocx, blank lines left out
- Tests
- 104
- 83 expects, 21 node tests
- Weighs
- 374.9 KB of wasm, brotli (493.8 KB gzip, 1319.2 KB raw)
- Made of
- 3 pages · 20 endpoints · 3,525 lines of Roc · 83 expects · 21 node tests
- Uses
- SQLite, packages/auth, packages/guard, packages/presence
Measured on 2026-11-29 at commit 74eec5b. The wasm is the app's browser half, built with --opt=size; every page also loads start.js, the page's JavaScript, 22.8 KB brotli. All the examples says how they're measured.
Run it#
With the toolchain set up (just setup), start it from its own directory: it builds, serves at http://127.0.0.1:8080 and builds again when you save. Its README says what to look at.
cd examples/board && ../../bin/rocx devTo build it, check it and run its tests, from the repository's root:
just examples board
just examples-release board # as deployed: rocx build, then the tests against a server built --opt=speed