Platform Architecture & Core Principles
Ankabit LMS is designed as an autonomous, enterprise-grade educational operating system powered by Next.js 14 App Router, Prisma ORM, MySQL, and Tailwind CSS.
Strict Multi-Tenancy
Complete data scoping, subdomain routing, and workspace partitioning across independent educational institutions.
Zero Data Bleed
Newly created academies initialize with authentic empty database records, completely immune to cross-tenant leakages.
LiveKit Cloud SFU
Carrier-grade WebRTC conferencing with live screen share, dual camera looper, and seamless local browser P2P mesh fallback.
System Topology Diagram
┌─────────────────────────────────────────────────────────────┐
│ Next.js Edge Middleware │
│ Subdomain Resolution & Tenant Context Extraction │
└──────────────────────────────┬──────────────────────────────┘
│
┌──────────────────────┼──────────────────────┐
▼ ▼ ▼
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ Public Portal │ │ Admin Console │ │ Student LMS │
│ Landing Pages │ │ & Executive │ │ & Live Halaqah│
│ & Intake │ │ Command Hub │ │ Classroom │
└───────┬───────┘ └───────┬───────┘ └───────┬───────┘
│ │ │
└──────────────────────┼──────────────────────┘
▼
┌─────────────────────────────────────────────────────────────┐
│ Server Services Layer │
│ TenantService │ AuthService │ LeadsService │ LiveKit │
└──────────────────────────────┬──────────────────────────────┘
▼
┌─────────────────────────────────────────────────────────────┐
│ Prisma ORM & MySQL Relational Vault │
└─────────────────────────────────────────────────────────────┘Ankabit Autonomous LMS — Enterprise Documentation v2.4