Skip to content

Architecture Documentation

System architecture and design for ThriveSend B2B2G


ThriveSend B2B2G is built on a modern, scalable architecture designed for:

  • Multi-tenant B2B2G operations
  • POPIA compliance by design
  • Government-grade security
  • High performance and reliability


  • Organization-based tenancy
  • Complete data segregation
  • Clerk-managed authentication
  • Audit logging at data layer
  • SA data residency enforced
  • Consent tracking built-in
  • API-first design
  • Service layer abstraction
  • Scalable components
  • Server-Sent Events (SSE)
  • Live dashboard metrics
  • Breach monitoring alerts

  • Next.js 15 (App Router)
  • TypeScript
  • Tailwind CSS 4
  • shadcn/ui
  • Node.js 20 LTS
  • PostgreSQL 16
  • Prisma ORM
  • Redis 7
  • Docker
  • GitHub Actions
  • Vercel/Railway
  • Cloudflare

Architecture Documentation Version: 0.1.4