Skip to content

Multi-campus school ERP with Kuickpay fees, Socket.IO realtime, and role-based mobile apps

Campus School ERP

Production school platform at school.wilayats.com — Laravel 13, Inertia.js 2, and React 19. Thirty modules cover admissions through academics, fees, payroll, hostel, and transport, with Kuickpay online fee checkout, Socket.IO push/realtime, and React Native apps for students, parents, teachers, and accountants.

What the school actually needed

Campus School ERP is the system running at school.wilayats.com. A multi-campus school does not live in one screen. Admissions, timetables, attendance devices, exams, fees, payroll, hostel, and transport each have their own staff, and those staff should not share one giant permission set.

Parents and students also need a different surface from the admin desk. Fee collection in particular had to work the way Pakistani schools already collect money: a Kuickpay consumer number on the invoice, a Pay Now checkout, and a webhook that settles the payment without someone retyping it into the ledger.

How it is built

The web app is Laravel 13 with Inertia.js 2 and React 19, on PostgreSQL. Thirty modules cover the academic year from admissions documents through promotion, homework, examinations, seating, question banks, results, rechecks, and ranking. Accounting sits beside fees: bank reconciliation, a school P&L hub, and payroll, so fee income and salary cost are not two disconnected spreadsheets.

Realtime updates go through a Socket.IO process (sms-socket on pm2). Four React Native apps — student, parent, teacher, and accountant — share Firebase push, deep links, and the same backend. Kuickpay IDs are shareable inside the student and parent apps, and the webhook writes settlement through the online gateway path instead of a manual “mark as paid” button.

What I kept strict

Timetables are where school software usually rots. This one tracks conflicts and can print a wallchart PDF, because a clash that only shows up on Monday morning is already a failed timetable. Attendance can arrive from a device webhook, so the register is not a second data entry job after the biometric machine.

GitHub Actions runs PHPUnit and a TypeScript verify step on every push. The module list is the product: if a campus turns a feature off, the rest of the year still has to close — exams, fees, and payroll do not wait on a half-finished screen.

In production

Campus operations for admins, teachers, parents, and staff: Kuickpay fee checkout with webhook settlement, biometric attendance webhooks, Socket.IO realtime, and dedicated React Native apps per role — deployed on school.wilayats.com.

What shipped

  • Kuickpay fee payments: consumer numbers on invoices, Pay Now checkout, webhook settlement (`online_gateway`), and shareable Kuickpay IDs in student/parent apps
  • Four React Native clients (student, parent, teacher, accountant) with Firebase push, deep links, and Socket.IO realtime (`sms-socket` on pm2)
  • Admissions pipeline, timetables, exams, P&L/payroll, bank reconciliation, and GitHub Actions CI (PHPUnit + TypeScript verify) on every push

Building something in the same lane?

ERP, SaaS, healthcare, delivery, and proptech systems are the work. Tell me what the operation actually has to do.