Intry Portal overview
Next.js resident portal with Clerk authentication.
Overview
tools/intry-portal is a Next.js application that gives residents a browser experience complementary to the mobile app. It authenticates through Clerk (@clerk/nextjs) and calls Intry Core via JWT after /api/v1/auth/clerk-session exchange.
Feature areas
| Area | Notes |
|---|---|
| Auth | Clerk-hosted sign-in; JWT exchange to Core |
| Dashboard | Property + unit context, recent activity |
| Live access | SSE/streaming for real-time buzzer events |
| Guest passes | When enabled via tenant entitlements |
| i18n | All user-facing strings through i18n — no hardcoded English in JSX |
| Support | Chatwoot widget embedded via Core bootstrap |
Local development
cd tools/intry-portal
npm install
npm run devProvide .env.local with Clerk keys and Core API base URL.
Deployment
Typically Fly.io or Vercel. Ensure server-side API routes never leak Unkey or Core service keys to the browser bundle.
See also
Last verified: 2026-06-21 (commit 293c4a7)