Portfolio case study

A private school system built for daily clarity.

Madrasa Hub brings administrators, teachers, and parents into one calm workspace for attendance, grades, announcements, progress comments, and parent-teacher communication.

Role-scoped server queries
Credentials auth with private portals
Neon Postgres and Prisma data model
Docker-ready standalone build

Fall 2026 operations

Live school snapshot

Students

40

Teachers

6

Attendance

95%

Attendance trend

30 days

Teacher action

Math 7A attendance complete, gradebook updated, parent thread unread.

AI progress note

Drafted from real grades and attendance, editable before saving.

Case study

Three portals, one source of truth.

The project focuses on the core v1 path: a teacher records attendance, enters a grade, drafts a student progress comment, and the parent immediately sees the update and can message back.

Admin command center

Enrollment, attendance trends, active terms, teachers, classes, and school-wide announcements in one operations view.

Teacher workflows

Fast attendance, grade entry, class announcements, parent messages, and AI-assisted progress comments.

Parent experience

Mobile-first child overview with attendance history, grades, assignments, comments, and teacher messaging.

Security story

Private by default, scoped on the server.

Role checks

Admin, teacher, and parent routes re-check session role on the server.

Scoped data

Teachers only query their classes; parents only query their own children.

Safe redirects

Login callbacks are constrained to same-site paths.

No public demo credentials

The portfolio site presents the product without exposing seeded account details.