Muktibeg Ecosystem
A multi-sided EdTech platform family — course marketplace, learning community and flashcard apps — built Bangla-first, offline-first and local-payments-first for Bangladesh's exam economy.
Ownership — Founder-owned product. I lead the technical direction and build the platform; content operations run through the tools the platform provides.
- Products
- Campus SaaS · Community · Flashcards (Android + web)
- Users
- Teachers · students · moderators · admins
- Live since
- In production across muktibeg.com properties
Project Introduction
Muktibeg (Bengali: মুক্তিবেগ — 'escape velocity') is the learning ecosystem I founded to help Bangladeshi students reach escape velocity through the country's most competitive examinations: HSC, university admission and medical admission tests. It operates as a family of connected products sharing one mission and, increasingly, one identity layer.
The ecosystem spans three production systems. Muktibeg Campus is a multi-sided EdTech SaaS where independent teachers run full digital academies — courses, batches, lecture libraries, exams and monetization — while students get a single home for admission preparation. Muktibeg Community organizes curriculum-aligned knowledge along the national hierarchy (Education Level → Class → Group → Subject → Paper → Chapter → Topic) with community contribution and moderation at scale. The Flashcard ecosystem (an Android app on Google Play and the AceYourEd web platform) turns vast memorization-heavy syllabi into measurable daily study routines with per-card accuracy analytics.
Problem Statement
The platform was designed for its market, not adapted to it. Bangladeshi students study in Bangla on affordable Android devices, frequently without email accounts and almost universally without credit cards — while the dominant ed-tech products are English-first, card-first and email-first. The mismatch isn't cosmetic: it decides who can even enroll.
On the supply side, independent teachers and coaching businesses run entirely offline — enrollments over phone calls, fees in cash, materials as printed handouts. There was no software that let a teacher open a credible online academy without building one, and no platform that could keep a marketplace of student-teacher transactions trustworthy as it grew.
Finally, the content problem: curriculum-aligned notes, questions and solutions were scattered across PDFs and Facebook groups — unsearchable, unmoderated and invisible to a student who needs exactly the right material at 1 a.m. before an exam.
Project Objectives
- Bangla-first, bilingual interfaces that match how the audience actually reads
- Offline-first enrollment — access codes that work without email or cards
- Local payments through SSLCommerz and bKash with bank-grade safety
- A multi-sided revenue model: student subscriptions, teacher capacity packages, peer-to-peer teacher sales
- Edge-fast search over curriculum content, in Bangla, on low-end devices
- Quality governance — vetting, moderation, audit trails — that scales without a large staff
- A study system that measures weakness per card and per topic, not just completion
My Role & Ownership
Founder and lead developer — architecture, code and roadmap.
Founder-owned product. I lead the technical direction and build the platform; content operations run through the tools the platform provides.
Technical Architecture
Each product has the architecture its load profile demands. Campus is a unified full-stack Next.js application: one deployable serves four role portals, the public pages and the API layer over distributed SQL (CockroachDB via Prisma), with file storage in R2 behind expiring signed URLs and payments isolated behind a companion service that signs server-to-server requests and consumes signed webhooks.
Community is edge-first: a single Cloudflare Worker serves the SPA and a typed JSON API; search is answered by an edge-local SQLite full-text index incrementally synced from PostgreSQL on Oracle Cloud; all relational traffic multiplexes through a pooled TLS connection; media flows from object storage straight to the browser. The primary database remains the source of truth — the index is derived and fully rebuildable.
The Flashcard ecosystem is a deliberate monolith: one Node.js/Express application on Oracle Cloud serves the REST API to the Android app and renders the AceYourEd web client with EJS templates — two clients, one brain, all business rules server-side. SSO bridges tie the campus to the companion apps.
Technology Stack
Campus
Community
Flashcards
Data
Payments
Infrastructure
Database & Infrastructure
Distributed SQL for the marketplace
Campus runs on CockroachDB via Prisma — a 40+ model schema spanning users, courses, batches, enrollments, exams, payments, moderation and audit trails, with reviewable migrations in the pipeline.
PostgreSQL + edge index for the community
A 27-table relational schema on self-managed PostgreSQL (Oracle Cloud) with hardened networking and a documented backup/recovery plan; a SQLite full-text index on the edge network is synced incrementally with manifest-based skip checks and scheduled drift self-healing.
Payments isolated behind signatures
The gateway never talks to the campus directly. A companion payments service fronts SSLCommerz with cryptographically signed, timing-safe-verified requests; identity always comes from the authenticated session, prices are validated server-side, and activation happens through signed webhooks with idempotent transaction records.
Hardened session handling
Community sessions are opaque 256-bit tokens stored server-side only as SHA-256 digests — logout is instant revocation, and even a leaked database dump cannot be replayed into a login.
One lean backend for the flashcard ecosystem
A single Express monolith on OCI serves the mobile API and the server-rendered web client — minimizing deployment complexity and cross-service latency while staying modular enough to extract services later.
Key Features
Four role portals, one deployable
01Student dashboard (courses, lectures, attendance, results, progress), teacher dashboard (batches, lecture builder, exams, packages), moderator and admin consoles (approvals, complaints, takedowns) — role gating enforced at both page and API layers.
The code-redemption engine
02One concept powers offline enrollment codes, seat-based online access tokens and free promotional tokens: server-side generation, single-use validation, expiry and revocation, redemption-time activation windows and full seat accounting.
Edge search in Bangla
03Curriculum content is searchable at edge-network latency, with the indexing pipeline validated for Bengali grapheme clusters, relevance ranking, snippet highlighting and a substring fallback for tokenizer gaps.
Community contribution with governance
04Wiki-style edit suggestions, StackOverflow-style voting with denormalized scores, reputation, a formalized volunteer program, one-report-per-user flagging and transparent moderation states.
Flashcards that measure weakness
05Chapter-wise MCQ decks, per-card answer history, success-rate analytics per card and topic, custom mock-test builder with time limits, and spaced-repetition study paths on the web dashboard.
CMS-driven content velocity
06Courses, lessons and quizzes are managed in a headless CMS — new material ships without code deployments, and lecture video is handled by a managed delivery platform.
Engineering Challenges & Solutions
Challenge 01
Onboarding students who have no email and no card — without creating a fraud surface.
Solution
Teacher-issued alphanumeric access codes redeem for an instant account and course access. Codes are single-use, optionally batch-tied, pre-allocated or expiring; seat-based tokens start their access window only at redemption; everything is tracked, revocable and audit-logged.
Challenge 02
Search latency for a mobile-first, Bangla-first audience — a distant database round trip per query was not acceptable.
Solution
An edge-local full-text index synced from PostgreSQL. A content-manifest check (row counts + last-modified watermarks) skips reindexing when nothing changed; scheduled self-heal rebuilds bound drift; per-client rate limiting protects the shared index.
Challenge 03
Running a marketplace where students pay teachers directly, in cash — and keeping it safe.
Solution
The platform deliberately never touches peer-to-peer money; it provides the trust infrastructure instead: seat accounting, redemption-time activation windows, per-teacher complaint counters and admin freeze levers, with approval gates on a teacher's first or oversized capacity purchase.
Challenge 04
Typesetting mathematics and Bengali text together in study content.
Solution
The community editor combines a rich-text editor with mathematics notation (TipTap + KaTeX) and Noto Sans/Serif Bengali typography, so formulas and Bangla render correctly side by side.
Verifiable Outcomes
Statements verifiable via the live application and public architecture showcase
- Live in production: campus.muktibeg.com, community.muktibeg.com, the Google Play flashcard app and the AceYourEd web platform
- Offline-first enrollment is the primary student funnel — every teacher brings their own students
- A 40+ model marketplace schema and a 27-table community schema run in production with audit logging on every sensitive action
- The campus connects to companion apps through an SSO bridge
Continue Exploring
Building something similar?
I take products from concept to production — architecture, engineering and deployment. Pick the channel that suits you.