03Case study, Zouari School
Zouari School, 1,000+ students
Zouari School prepares Tunisian students for the technical baccalaureate with live classes, recordings, mock exams and an AI tutor. I built the first version alone and now lead the team that runs it.

What the platform does
Students buy a course, or an offer that bundles several. They join live classes on Zoom, watch the recordings afterwards and download the course documents.
Teachers schedule their classes and organise their modules. The platform handles enrolment, payments through a wallet, and the email around all of it.
Version one, then a team
I wrote the first version myself: an ASP.NET Core API with PostgreSQL behind a React frontend.
Then I hired the engineering team I lead today, through a multi-stage process that includes a practical, recorded test. I set the architecture and the priorities with them, and I also supervise interns.
Every class recorded, with nobody pressing a button
When a live class ends, Zoom sends a webhook. Azure Functions pick it up, save the recording to blob storage, upload it to Vimeo and write the embed URL back to the database.
The recording then appears in the course for students to watch.
Zina, the AI tutor
Zina answers student questions from the course material itself. The material is split by concept, in chunks that teachers validate, embedded with multilingual-e5-large and stored in Pinecone. For each question, the most relevant concepts are retrieved and Claude or GPT-4o writes the answer from them.
Students choose Arabic, French or Tunisian Derja.
I designed the RAG architecture. An engineer on my team implemented it.
Teachers check its answers by hand, and every conversation is logged so we can review them later through MCP.
Buying an offer when you already own part of it
An offer bundles several courses at one price. The hard case is a student who already owns one of them. The server decides the price, never the browser.
It splits the offer's price across its courses in proportion to their reference prices. A course the student already owns at the same level costs nothing more. A lower plan is upgraded, and what the student already paid counts as credit.
If an existing plan cannot be upgraded cleanly, the purchase is refused with a message that names the course.
200+ daily users for under $25 a month
The frontend is an Azure Static Web App and the API runs on Azure Container Apps. Autoscaling follows traffic, CPU and the time of day.
GitHub Actions builds and deploys both, and the tests run in that pipeline. Application Insights catches errors in production.
What broke, and what we changed
During the baccalaureate revision peak, the database hit its limits. I scaled up its compute and memory first, to keep the platform up while we read the logs.
The cause was a frontend bug: a React useEffect that called the API in a loop. We fixed it, added rate limiting to the API so one misbehaving client cannot overload the database again, then scaled the database back down.
Admin access and analytics
Admin accounts sign in with MFA through Microsoft Entra ID. PostHog shows how students use the product.
Where it stands
The platform serves 1,000+ students across 10+ live classes.