Skip to main content

Developer Documentation

Pcnaid Legal Hub is a TypeScript application with a React 19 and Vite single-page app, a Hono API on Cloudflare Workers, and Postgres accessed through Cloudflare Hyperdrive.
  • Architecture Overview: Runtime, authentication, tenant isolation, persistence, bindings, queues, and build commands.
  • API Reference: Authentication requirements and a verified subset of implemented routes.

Repository commands

The root package defines these local checks and deployment commands:
The build runs Vite and a dry-run Worker deployment. The repository also defines npm run dev, npm run preview, npm run lint, and npm run deploy.