Case study

# School OS: School Management Platform

Schools were running on 8 to 15 disconnected tools. Code Xenix designed and built School OS, one platform with one login and one audit trail that runs every academic, operational and financial process, from a single campus to a 200-campus school group.

**Industry**

Education Technology, SaaS

**Published**

November 2026

**Updated**

November 2026

*How Code Xenix built an enterprise-grade school management SaaS that replaces spreadsheets, registers and a dozen disconnected apps with one connected system.*

## Project Overview

**Product** School OS: enterprise school management and ERP platform

**Industry** Education Technology, SaaS

**Market** Pakistan-first, built for multi-currency and multi-timezone growth

**Platforms** Web console for staff, guardian and student web portals, guardian, teacher, student and driver mobile apps

**Scale** Designed for school groups of up to around 200 campuses and 250,000 students

**Our Role** Product strategy and specification, UX/UI design system, web and mobile development, backend and cloud architecture, AI and machine learning, payments and messaging integrations, DevOps

**Built For** K–12 schools, school chains and franchise networks, and A-Level / Grade 11–12 colleges

## The Challenge

A typical school runs on **8 to 15 tools that don't talk to each other**: admission forms on paper, fee records in spreadsheets, attendance in registers, messages through a separate SMS gateway, and staff files in a cabinet. For school groups with many campuses, the problem multiplies.

School leaders described the same frustrations:

- **No joined-up picture.** A principal can't see fee defaulters next to attendance dips, so struggling families and students are missed.
- **Too many parent apps.** Parents juggle several apps, WhatsApp groups and paper notices.
- **Slow, painful audits.** Actions aren't logged centrally, so audits take weeks.
- **Manual fee collection.** Vouchers, reminders and reconciliation are done by hand, and defaulters are found too late.
- **Late intervention.** At-risk students are noticed after the term ends, when it's too late to help.

The goal: **one platform, one data model, one login and one audit trail** for everything a school or school group does.

## Our Approach

We started with a detailed product and technical specification and an approved visual design system, then mapped the real working day of every role in a school: group leadership, principals, coordinators, admissions officers, accountants, HR, teachers, guardians, students and operational staff such as transport managers, wardens, librarians, store keepers and nurses.

We delivered School OS in four phases:

1. **Core:** organisation setup, students, admissions, attendance, fees and finance, communications and the guardian portal.
2. **Academics:** exams and report cards, timetabling, learning management, HR and payroll, early-warning rules and the AI writing assistant.
3. **Enterprise:** transport, hostels, library, inventory, health, discipline, activities, biometric attendance, alumni, single sign-on, partner APIs and compliance.
4. **Intelligence:** machine-learning models, a report builder with natural-language queries, an analytics warehouse and white-label apps.

A fully interactive demo let school owners use every feature on realistic sample data long before rollout, so feedback shaped the product early.

## The Solution

### Organisation, Campuses and Access

- Set up the **school group, campuses, academic structure, grades, sections, subjects and class teachers**.
- **Members, invitations and roles**, including **custom roles** with editable reach by campus.
- **Modules switch on per campus**, so each school pays only for what it uses.
- Staff sign in with **password, one-time code or two-factor authentication**. Guardians sign in with **just their phone number and a one-time code**.

### Students and Guardians

- A searchable **student directory** with filters and bulk actions: message, export, print ID cards or change section.
- Rich **student profiles** covering overview, fees, academics, photo, ID card, certificates and re-admission.
- **Guardian management**: link families, set the primary contact, emergency contacts and portal access.
- **Bulk student import** with a dry run that shows every row's errors before anything is saved.
- **Year-end promotions** in batches, and **transfers out** with an automatic transfer certificate.

### Admissions

- Track **enquiries** and convert them into applications.
- A visual **application pipeline** with stages and offers.
- **One-click enrolment** that creates the student and their first fee invoices automatically.
- An **AI admission conversion score** with clear reasons, so admissions staff know which families to follow up first.

### Attendance

- A fast **daily attendance grid** for teachers, on the web or **offline in the teacher app**.
- **Instant absence alerts** to guardians by SMS, WhatsApp or push notification.
- **Staff attendance** and **leave requests** with approval.
- **Biometric and RFID attendance**: card readers and devices record gate punches and fill in registers automatically.
- Monthly attendance registers, ready to print.

### Fees and Finance

- Flexible **fee heads and structures** with installments, versions, late-fee rules and transport rates by route.
- **Automatic invoice generation** for whole campuses, with live progress.
- **Counter payments** with instant receipts, plus **online payments** through Pakistan's local payment channels: **1-Link / 1Bill, JazzCash and Easypaisa**.
- **Concessions** through a request-and-approval workflow, plus **refunds** with status tracking.
- **Automated fee reminders** to individual families or in batches.
- **Defaulter lists and aging reports** that make overdue fees visible at once.
- A **fees dashboard** with collection trends, payment channel breakdown and an **AI collection forecast**.
- Branded **fee vouchers and receipts** with the school's logo and each campus's collection account, in single or bulk PDF form.
- **General ledger postings** and a **cashbook** for expenses, with accounting exports.

### Exams, Grading and Report Cards

- **Exam series and assessments**, with a fast marks-entry grid.
- A **submit, approve or return** workflow before results are published by grade.
- **Report cards** with teacher remarks, drafted in seconds by the **AI writing assistant**.
- **AI question paper assembler**: build papers from the school's question bank against a blueprint, moderate them and export to PDF.

### Timetable

- A visual **timetable grid** with versions.
- An **automatic timetable solver** that builds a clash-free timetable, with live progress.
- **Clash-checked manual changes**, one-click publishing and **substitution management** for absent teachers.

### Learning Management

- **Courses, modules and learning materials**.
- **Homework** with online submission and marking, plus a full **gradebook**.
- **Lesson plans and curriculum units** by week, with comments and delivery tracking.
- **Student logins** issued individually or in bulk, and a dedicated **student portal**.

### Early Warning and Student Wellbeing

- **Early-warning rules** that flag at-risk students during the term, not after it, with clear, explainable reasons.
- **Concerns, interventions and reviews** tracked for every flagged student.
- A **machine-learning early-warning model** that is back-tested against the rules, reviewed for bias and signed off before use, with a published model card.
- **Health records** (access audited), infirmary visits, medication plans and **medical alerts** on the student profile.
- **Discipline and behaviour**: incidents and merits, follow-ups, and suspensions through formal approvals.

### HR and Payroll

- **Staff records and contracts**.
- **Leave policies and balances**.
- **Payroll runs** with arrears, bonuses and recoveries, calculated automatically, then submitted and approved through a maker-checker workflow.
- Payslips and payroll reports.

### Communications

- **Announcements** to any audience (staff by role, classes or whole campuses) across **SMS, WhatsApp, email and push**, with scheduling and attachments.
- **Two-way parent–teacher messaging** with moderation, reporting and **office hours**.
- A full **message log** with delivery status.
- **In-app notifications** and a **live activity feed**.
- An **events calendar** for each campus and audience, shown to families under "Coming up".

### Guardian Portal and Parent App

One place for parents, on the web and on mobile:

- Every child's **attendance, results, homework, timetable and notices**.
- **Fee invoices with online checkout** and a full payment history.
- **Leave requests** and **messages to teachers**.
- Live **school bus tracking**, plus **hostel, health and behaviour** updates.

### Transport

- **Routes, stops, vehicles and riders**.
- A **live GPS map** of every school bus, and a **boarding log** of who got on and off, and where.
- An **automatic route optimiser** that plans efficient routes.
- **Vehicle papers with renewal reminders**.
- Transport fees billed automatically at each rider's route rate.

### Hostel and Boarding

- **Boarders, rooms and bed allocation** across campuses, with clash checks.
- **Roll calls** and **leave passes**.

### Library

- A full **catalogue** with the school's own subjects, reader bands and printed **barcode labels**.
- A **library desk** for issues, returns, holds and fines, with configurable loan rules.
- **Overdue reminders** sent to each child's guardian, and tracking of lost and damaged books.

### Inventory, Assets and Procurement

- **Stock and asset registers** with the school's own categories and suppliers.
- A complete **procurement workflow**: purchase request, approval, purchase order, then goods received, with printed documents.

### Clubs, Trips and Activities

- **Clubs** with waiting lists and attendance registers.
- **School trips** with digital **family consent** and one-off trip invoices.

### Alumni and Advancement

- An **alumni directory** with consent-based updates.
- **Alumni events**, fundraising **campaigns and donations** with receipts.

### Approvals, Audit and Compliance

- A central **approvals inbox** with **maker-checker** controls for concessions, refunds, suspensions, payroll and purchases.
- A **complete audit log** of every change, with filters and change details.
- **ISO 27001 and SOC 2 readiness tools**: access reviews, sign-in rules and evidence exports.
- A time-limited **auditor role** for external auditors.

### Reports, Analytics and AI

- A **report catalogue** covering students, attendance, academics, admissions, fees, staff and payroll, transport, inventory and the library, with exports.
- A **report builder** with columns, filters, grouping, totals and charts, plus saved and shared reports.
- **Ask in plain words:** type a question such as "Show Grade 9 students with attendance below 80% this term" and the AI builds the report.
- An **analytics warehouse** with five standard dashboards and custom dashboard building.
- **AI fee forecasting** that shows a likely range for each month.

### Integrations and Enterprise

- **Single sign-on (SAML and OIDC)** with the school group's identity provider.
- A **partner API** with API keys, **webhooks** with a delivery log, and **OneRoster and Ed-Fi** exports.
- **Integration connections** for payment, messaging and other providers, with secrets stored write-only.
- **Global search** across the whole school group.
- **Data regions and read replicas** for large school groups.

### White-Label Apps and Custom Domains

- School groups can run School OS **under their own brand**: their app name and school colour across the staff console and both portals.
- **Custom domains** with automatic security certificates.
- **Branded parent and teacher apps** published under the school's own name.

### Mobile Apps

- **Guardian app:** attendance, results, fees and online payment, leave requests, messages and live bus tracking.
- **Teacher app:** attendance marking that works offline, homework, marks and messaging.
- **Student app:** timetable, homework, results and library.
- **Driver and attendant app:** routes, live location and boarding.

### Subscription Billing for School Groups

- Simple **per-student pricing** across Core, Plus and Enterprise plans, in PKR.
- **Plan changes with proration**, add-on packs for messaging and AI credits, and **usage meters** that update with every message sent.
- Platform invoices paid online or by bank transfer.

## Engineering Highlights

**Multi-tenant by design.** Every school group's data is protected by database-level row security, so one school can never see another's records. Large customers can choose a dedicated or private-cloud instance.

**One data model, everywhere.** Admissions, attendance, fees, academics and operations share a single model. When a student enrols, their invoices, registers, portal access and reports all follow automatically.

**Built for real school networks.** Offline attendance marking, resilient background jobs and one-time-code sign-in for guardians work in real-world conditions across Pakistan.

**Safe financial operations.** Duplicate payments are prevented, concurrent edits are detected and handled, and the maker-checker approval process protects money and sensitive records.

**Responsible AI.** Early-warning and admission models are back-tested against simple rules, reviewed for bias, documented with model cards and can be switched back in one step. Small groups are hidden in analytics to protect student privacy.

**Contract-first delivery.** The web console was built against a shared API contract and proven with an interactive demo. Each backend module is complete only when the same end-to-end tests pass against the real system.

**Thoroughly tested.** Hundreds of end-to-end browser journeys, unit tests on both frontend and backend, and continuous integration on every change.

## Technology Stack

Area Technology

Web Console and Portals React, TypeScript, Vite, Tailwind CSS

Mobile Apps Flutter (iOS and Android)

Backend and API Python, Django, Django REST Framework, OpenAPI

Database PostgreSQL with row-level security, read replicas

Search OpenSearch

Background Jobs Celery

Authentication Two-factor authentication (TOTP), phone one-time codes, SAML and OIDC single sign-on

Payments 1-Link / 1Bill, JazzCash, Easypaisa

Messaging SMS, WhatsApp, email, push notifications

AI and Machine Learning Large language models, predictive and forecasting models

Standards OneRoster, Ed-Fi

Infrastructure Docker, Caddy, GitHub Actions

Testing Playwright, Vitest, pytest

## The Outcome

- **One system instead of fifteen:** every academic, operational and financial process runs on one platform, with one login and one audit trail.
- **One app for parents:** attendance, results, fees, messages and bus tracking in a single place.
- **Faster fee collection:** online payments through local channels, automatic reminders and live defaulter tracking.
- **Earlier help for students:** early-warning rules and AI flag at-risk students during the term, not after it.
- **Audits in hours, not weeks:** every action is logged centrally, with compliance evidence ready to export.
- **Less admin for teachers:** AI-drafted report-card remarks, automatic timetables and offline attendance.
- **Ready to scale:** from a single campus to a 200-campus school group, with white-label branding for school chains.

## Why It Matters

School OS shows what Code Xenix does best: taking a huge, complex domain and turning it into one coherent, reliable and easy-to-use product. From multi-tenant security and financial workflows to AI, mobile apps and real-time transport tracking, we build platforms that institutions can run their entire operation on.

## Have a project like this in mind?

Let's build something great together. Reach out to our experts today.

---

Source: https://codexenix.com/case-studies/school-os/
