Building a Smart Hybrid Learning EcosystemA Complete LMS & Tuition ERP System
Case Study: ZisuGen | How we engineered a custom, high-security tuition automation engine to streamline class administration, manage finances, and mitigate slip fraud for Sri Lanka's leading educators.

The Administrative Nightmare of Large-Scale Tuition
Tuition educators in Sri Lanka often manage cohorts ranging from 500 to over 10,000 students across multiple branches. Relying on WhatsApp groups, physical registers, and manual bank slip audits exposes tutors to substantial operational leaks and administrative exhaustion:
- Revenue Leakage (Slip Fraud): Students sharing cropped, color-adjusted, or re-used bank slips to gain entry to premium LMS platforms.
- Attendance Bottlenecks: Physical class entrances locking up under peak load as security guards manually inspect paper cards.
- Material Stock Discrepancies: Distributing printed study guides (Tutes) without tracking unit costs (paper, binding) or verification leads to stock depletion.
- Staff Isolation: No centralized way to assign sub-admin roles, delegate paper marking, track hours, and process monthly payroll.
The ZisuGen Tuition ERP: Built Specifically for Educators
Rather than forcing tutors onto generic course platforms, we engineered a custom, multi-tenant administrative engine mapping their real-world workflows. Below are the key components designed to transform classrooms into high-efficiency micro-enterprises:
1. Frictionless Onboarding & Marketplace
Students bypass complex sign-up processes using unique cryptographic Class Codes (e.g., `TCH-CP-9134`) issued by the teacher. In parallel, ZisuGen hosts a national **Teacher Marketplace** allowing educators to build subdomains (e.g., `chemistry.zisugen.lk` edges rewrites via **Cloudflare Workers**) with custom typography and brand colors.
// Subdomain Edge Rewriting
const hostname = request.headers.get('host');
if (hostname.endsWith('.zisugen.lk')) {
const subdomain = hostname.split('.')[0];
return Response.redirect(`/teachers/${subdomain}`);
}
2. AI Slip Validation & Duplicate Filter
Financial transactions are protected by a dual-stage check. First, **Gemini Vision models** verify the uploaded bank receipt image, analyzing the text layer for valid dates, correct amounts, and potential modifications. Second, the backend hashes the file. Attempted double uploads immediately trigger database blockages.
- Image tampering and edit detection
- Perceptual pHash matching to block re-use
- Automated class card allocation (Full/Half/Free)
3. Omnichannel Gatekeeper & Attendance
Students utilize mobile-native PWAs displaying dynamically generated QR codes. At class entrances, staff utilize their smartphones as scanning terminals (leveraging browser **WebRTC API**). The backend checks the database to verify active monthly fee card status, providing instant visual confirmation (Allowed vs Blocked).
4. Printed Material (Tute) Logistics
Distributing physical study packs is managed through a centralized inventory console. Administrators input paper, printing, and binding costs per unit to calculate correct P&L margins. Tutes are issued only after scanning the student's QR code, logging the transaction and triggering low-stock dashboard warnings automatically.
- Automated Cost of Goods Sold (COGS) tracking
- QR-driven collection registry
- Real-time dashboard stock thresholds
5. Institutional Staff HR & Payroll
Tutors can onboard staff members (e.g., assistants, paper markers, gatekeepers) and assign role permissions using granular RBAC. The system supports custom payment schemas (such as monthly salaries, hourly rates, or task-based fees like "Rs. 50 per paper graded"), automatically compiling payroll at cycle ends.
6. Enterprise Fixed Asset Tracking
Physical institutes require tracking high-value equipment like projectors, sound setups, whiteboards, and air conditioning units. ZisuGen incorporates an asset ledger listing condition status and next maintenance timelines, proactively raising warnings before hardware failures disrupt live classes.
Under the Hood
To maintain maximum performance under massive student concurrency while keeping operational costs minimal, ZisuGen runs on a state-of-the-art hybrid serverless architecture:
Measurable Institutional Efficiency
Deploying ZisuGen to our initial group of professional educators yielded immediate results:
ADMINISTRATIVE WORK
60% - 70% Less
Shifted from manual Excel ledger/WhatsApp slip tracking to automatic verification queues.
PAYMENT AUDITING
100% Secure
Zero duplicate receipt submissions and automatic card revocations at the gate.
MOCK EXAM SCALING
Rs. 0.14 / hr
Extreme serverless efficiency under thundering herd concurrency on Cloud Run.
Let's build your next system
Want to scale your tuition institute or academy?
At SoftGen, we build specialized ERP, CRM, and LMS solutions tailored to your unique educational workflows. Get in touch for a custom architecture review.