Ecosystem Overview & Architecture
Understand how Schohrly pairs schema-isolated multi-tenant school portals with the public EduDiscover admissions marketplace.
How isolated school operations sync cleanly with public family discovery.
Schohrly separates institutional operations from public school discovery while keeping both layers synchronized:
- 1Private Multi-Tenant ERP (`<school-slug>.schohrly.com`): Each onboarded institution operates inside its own dedicated web subdomain and PostgreSQL schema for students, staff, classes, exams, payroll, hostels, finance, and communications.
- 2Public EduDiscover Marketplace (`discovery.schohrly.com`): Families browse verified schools across cities and curricula, compare tuition ranges side by side on
/compare, apply directly online on/apply/[slug], and sit scheduled entrance CBT exams.
When a school updates its profile, curriculum, scholarships, or open admission forms inside its dashboard, verified public metadata reflects in real time on EduDiscover.
Strict PostgreSQL schema boundaries across every school tenant.
Schohrly isolates data at the database schema level via django-tenants:
- Dedicated Tenant Schemas: Each school gets an isolated PostgreSQL schema containing its own students, teachers, attendance logs, CBT question banks, fee structures, invoices, and audit trails.
- Shared Public Schema: Stores subscription plans, global domain routing records, and public EduDiscover directory listings.
- Custom Domain Support: Schools on eligible plans can map either
<school-slug>.schohrly.comor an institutional custom domain while preserving strict tenant resolution.
| Layer | Scope | Managed Data | Access Boundary |
|---|---|---|---|
| Public Schema | Platform Wide | Subscription tiers, domain registry, public school directory | Public endpoints & directory lookup |
| Tenant Schema | Per School | Students, staff, grades, invoices, payroll, hostels, CBT | Authenticated users of that school only |
| Subdomain Router | Per Request | Host-based tenant resolution (<slug>.schohrly.com) | Automatic isolation on API & UI |
Built to support primary schools, secondary colleges, and unified K-12 campuses.
During onboarding, institutions choose the school scope that matches their structure:
- Primary Only (`primary_only`): Seeds Nursery/Reception and Primary 1–6 class structures.
- Secondary Only (`secondary_only`): Seeds JSS 1–3 and SS 1–3 levels with department tracks.
- Unified K-12 (`k12_combined`): Provisions both Early Years / Primary and Secondary divisions under a single campus dashboard and consolidated financial ledger.