Sanatry — Education Center Management SaaS
A multi-tenant SaaS that replaces spreadsheets and paper attendance in Egyptian education centers with one system: student enrollment, scheduling, card-based attendance, payments, and revenue splitting between the center and its teachers. Fully bilingual (Arabic RTL / English), built on Django 5.2 and Next.js 15.

Key Metrics
Screenshots

Role-based dashboard: profit, revenue by course, expenses and pending payments

Session attendance by card scan or search, with cash or pay-later fees

Finance dashboard: net profit, income, refunds, expenses and teacher payouts
Tech Stack
Key Features
- Strict multi-tenancy: each center has its own data, users, settings and unique center code
- Three-factor login (email, password, center code) with OTP 2FA and trusted devices
- 6 roles with fine-grained authorities: Owner, HR, Manager, Receptionist, Accountant, and system Master
- QR-based student self-registration with single-use links
- Attendance by card scan or name/phone search, with cash or pay-later session fees
- Bespoke drag-and-drop scheduling calendar with resizable sessions and automatic room/teacher conflict detection
- Revenue splitting between center and teachers, with accountant-grade financial reports
- Courses, groups, rooms, teachers, staff and subscription plans in one place
- Audit trail, notifications, and rate limiting on sensitive endpoints
- 1,700+ translation keys and correct RTL layout on every screen
Project Impact
- One system that removes spreadsheets, paper attendance and manual revenue splits, backed by 1,500+ tests (85% coverage) and 500+ GitHub issues resolved.
Project Overview
Overview
Sanatry is a multi-tenant SaaS for Egyptian education centers. Centers that run on spreadsheets, paper attendance sheets and manual revenue splits get one platform for enrollment, scheduling, attendance, payments and staff, with Arabic (RTL) and English as equal first-class languages.
The problem
A tutoring center juggles classrooms, teachers, groups and hundreds of students. Attendance is on paper, payments are tracked in a notebook, and every teacher's share of the revenue is calculated by hand. The owner has no real-time view of the business, and a scheduling clash is found only when two groups show up for the same room.
What it does
- Attendance in seconds. Scan a student's card or search by name or phone, mark them attended, and take the session fee in cash or defer it.
- Scheduling that catches clashes. A drag-and-drop calendar with resizable sessions flags room and teacher conflicts before they happen.
- Fast onboarding. Students register themselves by scanning a center QR code with a single-use link.
- Money made clear. Payments and the split between the center and each teacher are tracked automatically, with reports for the accountant.
- Right access for each person. Owner, HR, Manager, Receptionist and Accountant each see only their part of the center.
- Courses, groups, rooms, teachers, subscriptions and an audit trail in the same place.
Engineering
- Backend: Django 5.2 and DRF with an object-oriented service layer; 60+ REST routes across 10+ modules; Celery and Redis for background jobs.
- Multi-tenancy: every record belongs to a center. The schema uses UUID primary keys, soft deletion and purpose-built indexes, and email uniqueness is scoped per center.
- Authentication: three-credential login (email, password, center code), OTP two-factor, trusted devices, JWT in httpOnly cookies, CSRF protection, rate limiting and account lockout.
- Frontend: Next.js 15 and React 19 with next-intl, Zustand and Tailwind 4. The session layer refreshes tokens ahead of expiry, queues requests while offline and syncs tabs through BroadcastChannel.
- Calendar: a purpose-built scheduling calendar with daily and weekly views, with no third-party calendar library.
- i18n: 1,700+ translation keys, and a directional Tailwind convention used app-wide to prevent layout-mirroring bugs in RTL.
- Quality: 1,500+ pytest-django tests at 85% coverage, a Dockerized Newman API suite in GitHub Actions CI, and a typed API client with a uniform error-key contract.
- Delivery: Docker Compose stacks for dev, test, staging and production.
- Process: 500+ GitHub issues triaged and resolved across backend, frontend, testing and system design in an Agile workflow.