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

# EntityShield developer documentation

> Technical entry point for EntityShield architecture and implemented API routes.

# EntityShield for developers

EntityShield is a pnpm and Turborepo TypeScript monorepo. It contains React portals, a Hono API, scheduled and integration workers, shared packages, and Postgres migrations.

## Start here

> **[Architecture overview](https://docs.pcnaid.com/nodes/web-apps/entityshield/developer/architecture-overview.md)**
>
> Review the portals, workers, authentication boundaries, data model, and deployment shape.

> **[API surface](https://docs.pcnaid.com/nodes/web-apps/entityshield/developer/api.md)**
>
> See verified route families and the supported outbound-webhook integration path.

## Components

| Component | Description |
| - | - |
| API Worker | Hono API on Cloudflare Workers serving the authenticated `/v1/*` surface |
| Main application | Admin SPA served via Cloudflare Pages at `entityshield.app` |
| Workspace portal | SPA at `*.portal.entityshield.app` |
| Staff portal | SPA at `staff.entityshield.app` |
| Governance portal | SPA at `gov.entityshield.app` |
| Database schema | Postgres migrations under Row-Level Security |

> [!WARNING]
>
> The repository does not establish a general-purpose public API credential-issuance flow. The documented `/v1` routes are the application's authenticated API surface, and access is enforced by audience, tenant, membership, and permission checks.


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