- Introduction
- Pitch
- Hogwarts
- Live Demo
- MVP
- Roadmap
- Launch Sprint
- PRD
- Get Started
- Localhost
- Architecture
- Structure
- Pattern
- Page
- Layout
- Content
- Types
- Config
- Actions
- Queries
- Authorization
- Validation
- Form
- Table
- Detail
- Card
- Util
- Hooks
- List Params
- Views
- README.md
- ISSUE.md
- Technology Stack
- Database
- File
- CDN Assets
- Entry Points
- Dashboard
- Authentication
- Credentials
- OAuth
- Flow Diagrams
- Multi-Tenancy
- Offline
- Onboarding
- Onboarding Videos
- Add Values
- Admission
- Application
- Attendance
- Compliance
- Profile
- Exams
- Exam Wizard
- Timetable
- Classrooms
- Notifications
- Conference
- LMS (Lumos)
Finance
- Finance
- Fee Management
- Invoice
- Wallet
- Salary
- Payroll
- Timesheet
- Expenses
- Budget
- Receipt
- Accounts
- Banking
- Reports
- Dashboard
- Permissions
- Messages
- Integration Flow
- Provision
- AI Document Processing
- Document Intelligence
- Internationalization
- Translation
- Translation Guide
- Icons
- Docs Factory
- Inspiration
- Listings
- Teachers
- Students
- Catalog
- Library
- Contributing
- Code of conduct
- GitHub Workflow
- Database Seeds
- Database Safety
- Test Accounts
- Playwright
- Prettier
- Block Rebound
Sales & GTM
Hogwarts is an open-source, multi-tenant K-12 school platform. Every classroom in a school — admission, attendance, exams, fees, messaging, transport, library, LMS — fits inside one codebase, behind one subdomain per school, with one shared catalog underneath.
This page is the entry point. If you're new, start here.
What it is
Three ideas:
- One subdomain per school. Each tenant gets
school.databayt.org(or a custom CNAME). Data is isolated byschoolIdend-to-end. - One shared catalog underneath. Curricula, subjects, chapters, lessons are global content. Schools subscribe and apply overrides — they don't duplicate.
- Arabic-first, RTL by default. The default locale is Arabic; English is parity. The codebase uses logical CSS so RTL works without overrides.
| Attribute | Value |
|---|---|
| Repository | github.com/databayt/hogwarts |
| Live | ed.databayt.org |
| License | SSPL-1.0 — self-host free; SaaS resale needs commercial license |
| Stack | Next.js 16, React 19, Prisma 6, NextAuth v5, Tailwind 4, PostgreSQL on Neon |
| Markets | MEA first (Sudan, Saudi Arabia, Egypt, South Africa) |
Where to go next
For developers
- Get started — clone, install, run locally
- Architecture — mirror pattern, file conventions, multi-tenant safety
- Pattern — code conventions per feature
- Stack — full technology choices
For product
- PRD — requirements, role model, NFRs, constraints
- MVP — 14-epic shipped state with maturity badges
- Roadmap — what's next and the long-horizon vision
For commercial
- GTM — three-phase go-to-market
- Pilot — MENA-10 free pilot cohort (current open offer)
- Marketing — positioning, channels, content calendar
- Sales — commercial process and prospect playbook
- Leads — pipeline operations and discovery script
- Proposal — Free Pilot + Paid Conversion templates
- Case study — King Fahad first draft + framework
- Business model — pricing tiers and revenue
- Pitch — partner-facing narrative
- Incubators — accelerator-specific positioning
- Competitors — landscape and positioning
For community
- Contributing — how to send a PR
- Code of conduct — community standards
- Shared economy — how contributions earn recognition and revenue
- Issues — work queue
Why open source
Student data is sensitive and curriculum changes constantly — schools deserve auditable, extensible code, and contributors deserve transparent attribution. SSPL-1.0 keeps the code free for self-hosters and protects against parasitic SaaS resale. Pattern: fork, fix, contribute back.
Status at a glance
See /docs/prd for current numbers. For per-epic maturity see MVP.