Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 824 Bytes

File metadata and controls

28 lines (21 loc) · 824 Bytes

AI Template Admin Portal

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.

Quick start

bun install
cp .env.example .env.local
bun run dev

App 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.

Scripts

  • bun run dev — dev server (Turbopack, default in Next.js 16)
  • bun run build / bun run start
  • bun run lint / bun run lint:fix
  • bun run typecheck
  • bun run test