Skip to content
  • gopisiripina's avatar
    42d7c102
    v0.1 — Foundation: Next.js + Prisma + Auth.js multi-tenant SaaS ERP · 42d7c102
    gopisiripina authored
    
    
    - Next.js 16 (App Router, TS) + Tailwind v4 scaffold
    - Prisma 7 with pg driver adapter, wired to dev PostgreSQL
    - Dual-env migration setup (.env.development / .env.production via prisma.config.ts)
    - Schema: Plan, Company, User, Module, CompanyModule, AuditLog + Role/SubStatus enums
    - Auth.js v5 (email+password, JWT, role in session)
    - Tenant scoping (lib/tenant.ts) + RBAC helpers (lib/rbac.ts)
    - Module catalog (16) + industry->modules map (8 industries)
    - Seed (3 plans, 16 modules, super-admin) + /api/health DB check
    - README with architecture, migration flow, and full version roadmap
    
    Co-Authored-By: default avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
    42d7c102
    v0.1 — Foundation: Next.js + Prisma + Auth.js multi-tenant SaaS ERP
    gopisiripina authored
    
    
    - Next.js 16 (App Router, TS) + Tailwind v4 scaffold
    - Prisma 7 with pg driver adapter, wired to dev PostgreSQL
    - Dual-env migration setup (.env.development / .env.production via prisma.config.ts)
    - Schema: Plan, Company, User, Module, CompanyModule, AuditLog + Role/SubStatus enums
    - Auth.js v5 (email+password, JWT, role in session)
    - Tenant scoping (lib/tenant.ts) + RBAC helpers (lib/rbac.ts)
    - Module catalog (16) + industry->modules map (8 industries)
    - Seed (3 plans, 16 modules, super-admin) + /api/health DB check
    - README with architecture, migration flow, and full version roadmap
    
    Co-Authored-By: default avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
Loading