Use Node.js 24 and npm. From the repository root, install dependencies and run the unit tests.
npm ci
npm testFor interactive development, configure your own Cloudflare resources and sender as described in the deployment guide. Copy .dev.vars.example to .dev.vars and set a local SESSION_SECRET for sign-in. Use a Turnstile site key and secret appropriate to your development hostname when testing email links.
npx cf auth login
npm run dev -- --host 127.0.0.1Open the local address printed by Vite. Set AI_EXTRACTOR=mock for fixture-based photo extraction. Pasted text and website lookup use remote Cloudflare bindings.
npm run lint
npm run build
npm run test:e2eFor a browser walkthrough without a production account, run the Playwright suites. They launch a local test server with disposable data and simulated email delivery.
npx playwright install chromium
npm run test:browser
npm run test:browser:accessThe GitHub Actions workflow lists the full set of release checks.