Next.js 16 Application

Build secure admin surfaces and auth flows faster

SAAD ships Better-Auth, CASBIN RBAC/ABAC, multilingual email templates, and shadcn/ui dashboards in one monolithic Next.js 16 codebase so your team can focus on product.

Authentication

Better-Auth + passkeys + 2FA

Email/password, passkey, and TOTP flows are wired with Prisma, HaveIBeenPwned checks, device authorization, and secure session caching.

  • Session cache with root bypass
  • Automatic HaveIBeenPwned password screening
  • Device codes for low-input hardware

Authorization

CASBIN RBAC + ABAC

Roles, permissions, and caching are ready with root-role overrides.

  • Role hierarchy seeded via scripts
  • Permission cache + invalidation hooks
  • RBAC and ABAC support via CASBIN

Email

Multilingual templates & providers

SMTP, MS365, and Gmail providers with encrypted configs, GDPR consent auditing, and localized templates.

  • GDPR audit trail + consent exports
  • Native Lingui translations
  • Multiple email provider support

Dashboards

Admin and User hubs

shadcn/ui powered experiences for billing, modules, CRM, and security with responsive layouts and Lingui copy.

  • Application billing profile + payment methods
  • Module dependency/CTA scaffolding
  • User hub for sessions, passkeys, API keys

Feature hubs ready to extend

Admin Hub

Monitor growth, manage users, roles, modules, and emails.

User Hub

Self-service security center for sessions, passkeys, API keys, and support codes.