| .. | ||
| migrations | ||
| src | ||
| test | ||
| package-lock.json | 104.3K | |
| package.json | 582B | |
| README.md | 646B | |
| tsconfig.json | 573B | |
| vitest.config.ts | 472B | |
| worker-configuration.d.ts | 568.1K | |
| wrangler.jsonc | 676B |
diagramzip-api
Cloudflare Worker for accountless diagram.zip persistence. D1 stores mutable aliases and R2 stores immutable content-addressed bytes.
The committed production route is diagram.zip/, keeping the browser
same-origin and avoiding a CSP expansion. The D1 database and R2 bucket names
are configured, but the resources still need to be provisioned before the first
authorized deployment.
npm install
npm run generate:types
npm run migrate:local
npm test
npm run check
npm run dev
See ../ for the
product, storage, API, and security contracts.