Architecture Explorer

Modular monolith on Next.js 16 + Supabase · reference layers (interactive graph lands in Phase H)

RC

LAYER 01

Users & Access

  • Super Admin
  • Admin
  • Faculty
  • Student
  • Church Leader
  • Guest

LAYER 02

Web Application

  • Next.js 16 App Router
  • Tailwind v4
  • shadcn/ui

LAYER 03

Application / API

  • Route Handlers
  • Server Actions
  • Zod validation

LAYER 04

Data

  • PostgreSQL (Supabase)
  • Drizzle ORM
  • Supabase Storage

LAYER 05

Integration

  • API mgmt
  • Webhooks
  • Workflow engine
  • Queue + retries

LAYER 06

External Services

  • GoHighLevel
  • Google Workspace
  • Microsoft 365
  • Email/SMS
  • Payments
  • Video

LAYER 07

Observability / Security

  • Sentry
  • Audit logs
  • RBAC + RLS
  • Backups

Stack target

Frontend: Next.js 16.3.6 · React 19 · TypeScript · Tailwind v4 · shadcn/ui · Lucide. Backend: App Router Route Handlers + Server Components + Server Actions + Zod. Data: PostgreSQL via Supabase, Drizzle ORM typed access, RLS authorization boundary. Auth/Storage: Supabase. Testing: Vitest + Playwright. CI: GitHub Actions. Hosting: Vercel (roadmapchurch.crdo.site). Observability: Sentry.