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 APIs using the same user identities linked via User.clerkUserId.
Feature areas
| Area | Notes |
|---|---|
| Auth | Clerk-hosted sign-in, session management, optional SSO tiers |
| Dashboard | Property + unit context, recent activity |
| Real-time | Server-Sent Events or streaming patterns for live access views (see dedicated doc) |
| Theming | Tailwind v4 + Geist fonts (mirrors modern Intry UI stack) |
Local development
cd tools/intry-portal
npm install
npm run devProvide .env.local with Clerk keys and Core API base URL as required by src/lib/api.ts (and related modules).
Deployment
Teams deploy to Vercel, Fly.io, or internal Kubernetes depending on environment. Ensure server-side API routes never leak service keys to the browser bundle.