EduFusion: school management SaaS for Bangladesh

A multi-tenant platform that runs a school's students, fees, results, attendance and guardian messaging in one place, with AI-generated NCTB question papers. I founded it and built the web app, API, Android app and website.

Type
Multi-tenant SaaS · B2B
Role
Founder & full-stack engineer
Status
Live · launched 2026
Web app
React 19 · Vite · MUI 7 · Redux Toolkit · PWA
API
NestJS 11 · Express 5 · TypeScript
Data & jobs
MongoDB 7 · Redis · BullMQ
Infrastructure
Docker · AWS EC2 · Cloudflare · GitHub Actions
AI
Groq · OpenAI · Gemini
Mobile & messaging
Expo Android · WhatsApp · SMS · Push
(01)

How it's built

Three clients share one NestJS API on AWS EC2. Every query is scoped to a school, slow work runs through BullMQ queues, and WhatsApp goes through a self-hosted gateway.

EduFusion architecture: a React web app, an Expo Android app and a website talk to a NestJS API on AWS EC2 (Docker Compose behind Cloudflare and nginx), backed by MongoDB, Redis with BullMQ queues and a self-hosted WhatsApp gateway, with AI providers, Cloudinary, SMS, push notifications and nightly Atlas backups.AWS EC2 · Docker · CloudflareIntegrationsWeb appReact 19 · Vite PWAAndroid appExpo · React NativeWebsiteCloudflare WorkersNestJS APIExpress 5 · TypeScriptJWT · role & teacher scopeTenant-scoped queriesCron jobs · rate limitsMongoDB 7Transactions · 2 DBsRedis · BullMQBills · imports · SMSWAHASelf-hosted WhatsAppAI providersGroq/OpenAI/GeminiCloudinaryFiles · PDFsSMS gatewayDelivery reportsPushOneSignal · VAPIDMongoDB AtlasNightly backupEduFusion architecture: a React web app, an Expo Android app and a website talk to a NestJS API on AWS EC2 (Docker Compose behind Cloudflare and nginx), backed by MongoDB, Redis with BullMQ queues and a self-hosted WhatsApp gateway, with AI providers, Cloudinary, SMS, push notifications and nightly Atlas backups.AWS EC2 · Docker · CloudflareClientsWeb app · React PWAAndroid app · WebsiteNestJS APIExpress 5 · TypeScriptJWT · role & teacher scopeTenant-scoped queriesMongoDB 72 databasesRedisBullMQ queuesWAHASelf-hosted WhatsAppServicesAI: Groq · OpenAI · GeminiCloudinary · SMS · PushAtlas nightly backup
(02)

The product

Screens from the live app, shown with demo data.

(03)

Overview

SummaryEduFusion is a multi-tenant school management SaaS for Bangladesh, founded and built by Shahin Alam. Schools, colleges, madrasas and coaching centres use it to run students, attendance, exams, GPA results, fees, salaries and guardian messaging over WhatsApp and SMS, and to generate NCTB-format question papers with AI. It has a React 19 web app, a NestJS 11 API on MongoDB with Redis/BullMQ queues, an Expo Android app and a bilingual website.

Most schools in Bangladesh still run on paper ledgers and Excel. Results and report cards are made by hand, fee dues are chased one by one, and guardians are phoned individually. EduFusion puts all of that in one place and speaks the local language: the NCTB curriculum, BDT money, Bangla receipts and SMS, and Bangladeshi mobile numbers.

It serves four roles: a super admin who runs the platform, institute admins who run a school, teachers who only see their assigned classes and subjects, and students and their families who share one login. A school signs up, gets a 30-day free trial and then pays monthly or yearly by bKash, Nagad, Rocket or bank transfer, approved by the super admin.

I started EduFusion in May 2026 and built all four parts: the web app, the API, the Android app and the website. It runs in production on AWS and was tested end to end against the live deployment.

(04)

What it does

  1. Students & classes

    Profiles, automatic roll numbers and IDs, CSV bulk import as a background job, and yearly class promotion.

  2. Attendance

    Present, absent, late or leave, a monthly register with CSV export, and absence alerts by SMS, WhatsApp and push.

  3. Exams & routine

    Exam setup and a paper routine with dates, times and rooms, shared as class PDFs and pushed to students.

  4. Marks & GPA results

    Marks by student or subject, GPA from each school's grading rules, board rules for optional subjects, merit lists and report-card PDFs.

  5. Fees & accounts

    Monthly bills on the 1st, multi-bill collection in one transaction, receipts, advance payments, salaries, expenses and a ledger.

  6. Auto Question Lab

    AI-drafted NCTB-format MCQs and creative questions in Bangla or English, exported as A4 PDFs with an answer key.

  7. Guardian messaging

    WhatsApp campaigns from the school's own number, SMS packages with delivery reports, and web and mobile push.

  8. Teacher & student portals

    A phone-first teacher portal scoped to assigned subjects; a student portal for results, fees, exams and study material.

  9. Plans & limits

    30-day trial, monthly and yearly plans, and question allowances reserved before every AI call.

(05)

Engineering highlights

  • Multi-tenancy you can't forget. Every record and every query carries the school's ID. Roles are enforced on the server for every route, and a dedicated module limits teachers to their assigned subjects.
  • AI that checks its own work. Generation is split into parallel chunks to stay under Cloudflare's 100-second limit. A local filter rejects mixed-script and near-duplicate questions, and a second model pass solves every MCQ to confirm the answer key. Groq is the default, with OpenAI and Gemini as fallbacks, and the token cost of every request is tracked in USD and BDT.
  • Quotas that can't overspend. A school's question allowance is reserved before calling the model and settled on what was actually written.
  • Queues with honest retries. BullMQ handles monthly bills, CSV imports, WhatsApp (paced per school) and SMS (exponential retries). A sweep marks messages with an unknown outcome as unconfirmed instead of sending them twice.
  • Money handled safely. Collecting several bills at once runs inside a MongoDB transaction, and per-process locks plus unique indexes make double submits harmless.
  • Built for Bangladesh. Lakh and crore money formatting, Asia/Dhaka time, Bangla receipts, papers and SMS, and Bangla-digit PDFs.
  • Boring, reliable shipping. Docker Compose on AWS EC2 behind Cloudflare and nginx, GitHub Actions deploys on every push to main, 42 migrations that run on boot, and nightly backups to MongoDB Atlas.
(06)

By the numbers

400

Commits across 3 repos

Since May 2026, with 79 merged pull requests.

273

Automated test files

Vitest and Testing Library on the client, Jest on the API.

1,893

NCTB chapters mapped

Textbook chapters seeded into the question bank that feeds AI question generation.

42

Database migrations

Run automatically on every deploy, followed by a question-bank sync.

Build log: commits per month

Web clientAPI2026 · November to date

(07)

EduFusion FAQ

What is EduFusion?

EduFusion is a multi-tenant school management SaaS for Bangladesh, founded and built by Shahin Alam. Schools, colleges, madrasas and coaching centres use it to run students, attendance, exams, GPA results, fees, salaries and guardian messaging over WhatsApp and SMS, and to generate NCTB-format question papers with AI. It has a React 19 web app, a NestJS 11 API on MongoDB with Redis/BullMQ queues, an Expo Android app and a bilingual website.

What is EduFusion built with?

Web app: React 19, Vite, Material-UI 7, Redux Toolkit and a PWA. API: NestJS 11 on Express 5 with TypeScript, MongoDB 7 (replica set for transactions), Redis and BullMQ. Android: Expo and React Native. Infrastructure: Docker Compose on AWS EC2 behind Cloudflare and nginx, deployed by GitHub Actions. AI: Groq, OpenAI and Gemini.

How does EduFusion generate question papers with AI?

The Auto Question Lab asks an AI model (Groq by default, with OpenAI and Gemini as alternatives) for NCTB-format MCQs and creative questions in Bangla or English. Work is split into parallel chunks, a local filter rejects mixed-script or near-duplicate questions, and a second model pass solves every MCQ to confirm the answer key before the paper is exported as an A4 PDF with the school's header.

Is EduFusion live?

Yes. The website is edufusionbd.online and schools sign up for a 30-day free trial on the web app. The Android app is in closed testing.