Intry Admin
Express proxy, Clerk gateway, and admin SPA for property managers.
Overview
tools/intry-admin is the property-manager and platform-admin dashboard. It is an Express 4 server that:
- Proxies
/api/admin/*to Railway Core backends withX-Admin-Envrouting. - Serves static HTML/JS templates for the admin UI.
- Integrates Clerk (
@clerk/express) for the modern login gateway.
IN-103 target
The Next.js App Router PM Command Center (shadcn/ui, PlanGate, server components) is the IN-103 target design. The current Express + static SPA is what runs in production today.
Environment routing
X-Admin-Env: DEV | TEST | STAGING | PRODThe proxy selects the matching Core base URL per environment. Never call production Core from staging scripts without explicit intent.
Auth flows
| Flow | Mechanism |
|---|---|
| Legacy admin | WorkOS SSO → wos-session cookie → Core requireAdmin() |
| Modern gateway | Clerk Organizations → session → Core admin routes |
| Automation | Unkey keys (bypass UI; call Core directly or via proxy) |
Key env vars (admin host)
| Variable | Purpose |
|---|---|
INTRY_CORE_*_URL | Per-environment Core base URLs |
CLERK_* | Clerk keys for gateway |
INTRY_ADMIN_SUPPORT_DOCS_URL | Link to help center (default help.gointry.com) |
INTRY_ADMIN_RESIDENT_DOCS_URL | Resident docs link |
Deployment
- Host: Fly.io (
intry-admin) - Start:
node server.js
Related
- Authentication
- API overview
- Intry Ops — internal support workflows
Last verified: 2026-06-21 (commit 293c4a7)