> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clear-box.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Architecture and stack

> How the system fits together.

| Surface | Stack | Hosting |
| - | - | - |
| **Website and clinic dashboard** (clear-box.io) | React and Vite, Tailwind, Base44 entities, row-level security and TypeScript backend functions | Base44 |
| **GetClear app** (scan.clear-box.io) | TypeScript, React 18, Vite, a hand-written service worker; the Shen.AI SDK runs on device as WASM | Netlify |
| **Partner page** (circle.clear-box.io) | A single static HTML page, no build | Netlify |
| **Services** | Python on Modal: scan ingest and history, lab import, the console and CRM endpoints | Modal |

**Data:** identity in Base44; health measurements in Supabase. **Third parties:** Stripe, Junction (labs and wearables), Shen.AI (scan), Pipedrive, NMI and GOAT (merchant boarding).

**Auth:** Base44 is the identity provider. Modal endpoints verify the Base44 token server side; the browser never holds a shared secret.

The GetClear app is on Netlify because the scan engine binary is 32.9 MiB, over Cloudflare's 25 MiB asset limit (ADR-0001).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.