Next.js 16 super-admin console for SaaS operators. Same stack as the tenant frontend (Tailwind v4 + Framer Motion + Zod) on a separate port. Managed with bun.
bun install
cp .env.example .env.local
bun run devApp lives at http://localhost:3001. Only users marked
is_superadmin = true (and presenting an admin:* JWT scope) can sign in.
The admin portal is intentionally separate from the tenant app so operators can monitor tenants, users, audit events, and dependency health without mixing tenant-facing navigation into super-admin workflows.
bun run dev— dev server (Turbopack, default in Next.js 16)bun run build/bun run startbun run lint/bun run lint:fixbun run typecheckbun run test