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.

ExampleWhat it provesGuideSource
AccountingDouble-entry books across 11 SQLite tables, CSV bank reconciliation, receipt attachments, and a read-only accountant portal on a share link.Read guideexamples/accounting
FundraiserEvent registration with atomic slot limits, receipt uploads, crash-safe retry tokens, and separate public vs. organizer operations.Read guideexamples/fundraiser
Team roadmapOne transactional Collection backing three role-scoped apps (PM, engineering triage, and executive rollup) with zero copied data.Read guideexamples/team-roadmap
LightboxPhoto proofing studio and client gallery with EXIF reading, concurrent pick limits, and pinned photo annotations.Read guideexamples/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 guideexamples/quant-workbench

More examples in the repository

ExampleWhat it showsSource
TournamentSingle- and double-elimination brackets, Elo updates, court scoreboards, and a read-only spectator TV board.examples/tournament
HexClashTwo-player turn-based hex strategy game with server-side fog of war and deterministic replay over a share link.examples/hex-tactics
Stock ordersInventory order form with transactional stock checks, receipt upload, and a separate read-only inventory board.examples/stock-orders
Trip pollMinimal destination poll using React and the app channel broker against a Document Collection.examples/trip-poll
Personal control towerMulti-Collection owner desktop app binding separate expenses and workouts Collections in one manifest.examples/personal-control-tower

Try an example locally

  1. Download dohc and open a new local workspace folder.
  2. Copy one of the folders from examples/ into your workspace root.
  3. Review and approve the Collection and app in dohc, or follow Build an app connected to a Collection.