All work

Barmagy

Learning platform

Barmagy is a full-stack, Arabic-first (RTL) online courses platform with student, teacher and admin roles. Admins manage the content, teachers review it, and students move through a gated learning path. It includes enrollment by activation code or online payment, quizzes that unlock progress, progress tracking, a points ledger, a built-in code editor, DRM-protected video, real-time conversations, and a REST API that a future mobile app can reuse.

Barmagy

The problem

The new programming curriculum for Egyptian high-school students needed an Arabic-first platform that actually teaches, not just a video library. Students skip videos and guess their way through quizzes, videos leak and accounts get shared, and sales happen through activation codes at bookstores and tutoring centers as well as online. Parents want to follow their children, and teachers need to see their students and grade them without touching the content itself.

The solution

Barmagy is a Laravel API with an Arabic-first React SPA, using Sanctum token auth so the same API can serve a mobile app later. Every lesson follows an explicit state machine (locked, available, video watched, quiz passed), the next lesson unlocks only on a pass, and all grading happens server-side so scores cannot be forged. Videos play from short-lived signed links with a moving watermark carrying the student’s name and number, and "watched" is earned from real playback, not a button. Students enroll with an activation code, for free, from their wallet, or online through Paymob. Points live in an append-only ledger, every tunable number is a dashboard setting rather than code, and teachers are read-and-grade only, enforced on the server. Real-time chat runs on Reverb.

Use cases

Guest

Student

Teacher

Guardian

Platform Admin

Diagrams

System architecture

Enrollment methods

Lesson progress

Activation code redemption

Online payment (Paymob)

Timed exam

Real-time chat

Entity relationship diagram

Built with

Laravel, PHP, React, TypeScript, Tailwind CSS, Vite, React Query, React Router, i18next, Laravel Sanctum, REST API, Laravel Echo, Pusher, CodeMirror, VdoCipher, Vitest

Visit the site