> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/introduction/examples.md).

# Examples

Complete, runnable apps that show how the pieces of a Terra integration fit together. Each one is a full working project you can scaffold with a single command, deploy to your own infrastructure, and use as a starting point for your own app.

```bash
npm create tryterra-app
```

Prefer to let an AI coding agent do it? Paste this into Claude Code (or Cursor, Copilot, and similar tools) and it will scaffold, configure, and deploy an example for you:

```
Set up the Terra Basecamp example app for me:
npx --yes create-tryterra-app@latest terra-basecamp --template unified-api-web-app --yes --json
Then read the generated AGENTS.md and follow it to fill in .env and deploy with npm run setup. Ask me for any credentials (Cloudflare, Neon, Terra) you need.
```

The examples live in the [`terra-examples`](https://github.com/tryterra/terra-examples) repository.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Terra Basecamp</strong></td><td><strong>What it is:</strong> A full health data platform: wearable connections, webhook ingestion, multi-device deduplication, a unified dashboard, and an AI health assistant.</td><td><strong>Stack:</strong> React 19, Hono on Cloudflare Workers, Neon Postgres, and an LLM assistant using Durable Objects.</td><td><a href="/files/ERaSMRricn6EIyn1UaIi">/files/ERaSMRricn6EIyn1UaIi</a></td><td><a href="/pages/Lmqe2xKJp2sNwcUjWiG9">/pages/Lmqe2xKJp2sNwcUjWiG9</a></td></tr><tr><td><strong>Terra Grip</strong></td><td><strong>What it is:</strong> A Streaming API reference app: pair a wearable, stream live biometrics to Terra, and render them on screen. No backend, no accounts, no keys on the device.</td><td><strong>Stack:</strong> React Native on Expo, the <code>terra-rt</code> SDK, streaming over BLE, phone sensors, and Apple Watch.</td><td><a href="/files/Cz9da2Yi0uMTARDt1bgO">/files/Cz9da2Yi0uMTARDt1bgO</a></td><td><a href="/pages/Bxp41glaEfpzMDG1xBD3">/pages/Bxp41glaEfpzMDG1xBD3</a></td></tr><tr><td><strong>Terra Pulse</strong></td><td><strong>What it is:</strong> A Streaming API consumer app: connect to Terra as a consumer over a WebSocket, receive live biometrics, and render them on a real-time dashboard. No keys in the browser.</td><td><strong>Stack:</strong> React 19 on Vite 7, a framework-free <code>StreamingConsumer</code> WebSocket client, Recharts, and a ~50-line Express token server.</td><td><a href="/files/7axFtLLQsW0ZLBWOWu9z">/files/7axFtLLQsW0ZLBWOWu9z</a></td><td><a href="/pages/5t9FtngxHMgNFgExqe1S">/pages/5t9FtngxHMgNFgExqe1S</a></td></tr></tbody></table>
