Ministry of Education · Pilot 2026–27
Platform status: what is built, and how to demo it
A working web platform for the national pilot — ministry oversight, school administration, teaching, student learning and guardian reports, in English and Arabic. This document records what runs today, the demo data behind it, and what is deliberately left for the next phase.
1 · What works today
Every screen below is live against a real PostgreSQL database with server-side role checks — not mock data in the browser. Sign-in, permissions and validation are enforced by the API, so a student cannot open a teacher page by editing a URL.
| Role | What they can do |
|---|---|
| Ministry | National overview and a schools directory across the six pilot provinces, national reports with CSV export, the shared content library with draft → review → certified status, the exam calendar, the people roster and individual student records. Every figure opens the list behind it. |
| School | School dashboard, people roster (students, teachers and guardians), the school's courses and lessons with the certification workflow, its exam calendar, section and school reports, and student records. |
| Teacher | Today's classes, homework set for a whole class or individual students and graded with feedback, the term gradebook, attendance marking (an absence notifies the guardian through the server), the content library, exams and student records. |
| Student | Courses for grades 4–6, lesson pages with reading text and a three-question quiz scored by the server, homework submission, grades, exams and the code lab with Python and JavaScript tasks. |
| Guardian | Per-child progress report — term average, attendance chart, subject-by-subject results, exams and teacher remarks — plus a notification feed for absences and graded work. One guardian can hold children in different schools. |
2 · Coverage of the requested feature set
| Requested | Where it lives | State |
|---|---|---|
| Full courses for each grade | 126 courses and 756 units across grades 4–6, seven subjects, scoped per school | Built |
| Video lessons | 3,024 lessons, each with reading body, outcome tip, a video slot and a quiz | Built |
| Interactive quizzes | Three questions per lesson, scored server-side, every attempt stored: 40,393 attempts to date | Built |
| Homework | 432 assignments across 72 sections, student submission, teacher grading with feedback; 5,422 submissions, 3,883 graded | Built |
| Exams | 252 exams (126 midterm, 126 monthly), 14,470 sittings, 9,800 term grades, shared exam screen for all roles | Built |
| Attendance tracking | 61,602 records over 45 teaching days, 94.1% present, guardian notification on absence | Built |
| Progress reports for parents | Per-child report: average, attendance chart, subjects, exams, remarks | Built |
| Code lab | 288 Python and JavaScript tasks run in the browser; 3,110 attempts from 1,338 students | Built |
| Bilingual interface | Every label, lesson body and notification authored in English and Arabic; Arabic switches the layout right-to-left | Built |
| Modern, ministry-ready design | Bright brand green #68E246 fills over accent ink #0F7A46; five hue ramps — green, blue, orange, pink, indigo — one per role; 18px cards with layered elevation, tinted hero bands on page headers, tabular figures, phone and desktop layouts | Built |
3 · Demo data
The dataset is large enough to look like a real national pilot rather than a sample. Numbers below are read from the live database.
| Entity | Records |
|---|---|
| Schools | 18 |
| Provinces (districts) | 6 |
| Sections | 72 |
| Students | 1,400 |
| Teachers | 150 |
| Guardians | 950 |
| Courses | 126 |
| Units | 756 |
| Lessons and videos | 3,024 |
| Assignments | 432 |
| Homework submissions | 5,422 |
| Exams | 252 |
| Exam results | 14,470 |
| Term grades | 9,800 |
| Attendance records | 61,602 |
| Quiz attempts | 40,393 |
| Code tasks and attempts | 288 / 3,110 |
| Content library items | 480 |
| Notifications | 484 |
4 · Running and demoing it
The platform is a small Node server over PostgreSQL, with versioned SQL migrations in db/migrations — no container cluster and no per-school licence.
- Start it:
npm start(defaults to port 3000;PORT=3950 npm startto change it) - Open
http://127.0.0.1:3000 - On the sign-in screen, pick any of the five demo roles — the row fills the form for you.
| Username | Role | Signed in as |
|---|---|---|
ministry | Ministry | Planning Directorate |
school | School | Ms. Sara Al-Jubouri · SCH-01 |
teacher | Teacher | Ms. Layla Al-Obaidi · TCH-001 |
student | Student | Ahmed Kareem · STU-00001 |
parent | Guardian | Kadhim Hussein · PAR-00001 |
All demo accounts use the password demo123. The interface switches between English and Arabic from the account menu or the sign-in screen; Arabic layout is fully right-to-left.
5 · Open items
- Video files are placeholders. The player, lesson structure and quiz are real; the media itself needs the Ministry's or schools' recordings dropped into each lesson's video slot.
- Content ownership rules (who may certify a course nationally) are modelled as draft → review → certified — 1,536 lessons certified, 912 in review, 576 draft — but still need the Ministry's decision.
- Mobile apps are out of scope for this phase; the web app is responsive and usable on a phone.
- Deployment to Ministry infrastructure, backups and single sign-on are next-phase work.