# 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](https://dohc.computer/examples/accounting) | [examples/accounting](https://github.com/dohchq/dohc/tree/main/examples/accounting) |
| **Fundraiser** | Event registration with atomic slot limits, receipt uploads, crash-safe retry tokens, and separate public vs. organizer operations. | [Read guide](https://dohc.computer/examples/fundraiser) | [examples/fundraiser](https://github.com/dohchq/dohc/tree/main/examples/fundraiser) |
| **Team roadmap** | One transactional Collection backing three role-scoped apps (PM, engineering triage, and executive rollup) with zero copied data. | [Read guide](https://dohc.computer/examples/team-roadmap) | [examples/team-roadmap](https://github.com/dohchq/dohc/tree/main/examples/team-roadmap) |
| **Lightbox** | Photo proofing studio and client gallery with EXIF reading, concurrent pick limits, and pinned photo annotations. | [Read guide](https://dohc.computer/examples/lightbox) | [examples/lightbox](https://github.com/dohchq/dohc/tree/main/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](https://dohc.computer/examples/quant-workbench) | [examples/quant-workbench](https://github.com/dohchq/dohc/tree/main/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](https://github.com/dohchq/dohc/tree/main/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](https://github.com/dohchq/dohc/tree/main/examples/hex-tactics) |
| **Stock orders** | Inventory order form with transactional stock checks, receipt upload, and a separate read-only inventory board. | [examples/stock-orders](https://github.com/dohchq/dohc/tree/main/examples/stock-orders) |
| **Trip poll** | Minimal destination poll using React and the app channel broker against a Document Collection. | [examples/trip-poll](https://github.com/dohchq/dohc/tree/main/examples/trip-poll) |
| **Personal control tower** | Multi-Collection owner desktop app binding separate expenses and workouts Collections in one manifest. | [examples/personal-control-tower](https://github.com/dohchq/dohc/tree/main/examples/personal-control-tower) |

## Try an example locally

1. [Download dohc](https://dohc.computer/#downloads) and open a new local workspace folder.
2. Copy one of the folders from [examples/](https://github.com/dohchq/dohc/tree/main/examples) into your workspace root.
3. Review and approve the Collection and app in dohc, or follow [Build an app connected to a Collection](https://dohc.computer/docs/app-backend).
