Runnable workspace examples
Every example in dohc lives as an ordinary folder of Markdown, SQLite schema, isolated QuickJS operations, and React source using the pinned built-in app kit. Copy any folder into a workspace, review its Collection rules and app permissions, and approve it locally or publish it to a share link.
Featured examples
| Example | What it proves | Guide | Source |
|---|---|---|---|
| Accounting | Double-entry books across 11 SQLite tables, CSV bank reconciliation, receipt attachments, and a read-only accountant portal on a share link. | Read guide | examples/accounting |
| Fundraiser | Event registration with atomic slot limits, receipt uploads, crash-safe retry tokens, and separate public vs. organizer operations. | Read guide | examples/fundraiser |
| Team roadmap | One transactional Collection backing three role-scoped apps (PM, engineering triage, and executive rollup) with zero copied data. | Read guide | examples/team-roadmap |
| Lightbox | Photo proofing studio and client gallery with EXIF reading, concurrent pick limits, and pinned photo annotations. | Read guide | examples/lightbox |
| SignalBook (quant workbench) | Local time-series analysis tested on 23,360 CSV rows with lagged Pearson correlation, outlier scoring, and frozen snapshot share links. | Read guide | examples/quant-workbench |
More examples in the repository
| Example | What it shows | Source |
|---|---|---|
| Tournament | Single- and double-elimination brackets, Elo updates, court scoreboards, and a read-only spectator TV board. | examples/tournament |
| HexClash | Two-player turn-based hex strategy game with server-side fog of war and deterministic replay over a share link. | examples/hex-tactics |
| Stock orders | Inventory order form with transactional stock checks, receipt upload, and a separate read-only inventory board. | examples/stock-orders |
| Trip poll | Minimal destination poll using React and the app channel broker against a Document Collection. | examples/trip-poll |
| Personal control tower | Multi-Collection owner desktop app binding separate expenses and workouts Collections in one manifest. | examples/personal-control-tower |
Try an example locally
- Download dohc and open a new local workspace folder.
- Copy one of the folders from examples/ into your workspace root.
- Review and approve the Collection and app in dohc, or follow Build an app connected to a Collection.