Skip to content

The need

Training for prison officers was scattered across institutions, delivered in person and hard to track nationally. The department needed one platform that works on any device, respects the reality of shift work, keeps assessment honest, and follows the Malaysian Government Design System (MYDS) so it looks and behaves like a government service.

What we did

  1. 1

    Modelled the department as zones and sites, so every prison institution manages its own courses and staff while headquarters keeps a national view.

  2. 2

    Built video learning on adaptive HLS streaming through a CDN, so lessons play smoothly on mobile data inside and outside the institutions.

  3. 3

    Enforced sequential progression: a chapter unlocks only when the previous one is finished, and the final exam opens only after every chapter is complete.

  4. 4

    Scored exams on the first attempt while allowing unlimited retakes for learning — so reports reflect real understanding, not repeated guessing.

  5. 5

    Ran a hands-on course for the department alongside the build so their own team could operate and extend the system.

What it does

  • Three-tier access

    Staff, institution admins and super admins, each with a scoped dashboard and permissions.

  • Adaptive video

    HLS streaming with resume points and per-chapter progress tracking.

  • Sequential chapters

    Chapter-by-chapter unlocking keeps the learning path intact.

  • Honest assessment

    First-attempt scoring with unlimited retakes and question-by-question exams.

  • Verifiable certificates

    PDF certificates generated on pass, each with a public verification page.

  • National analytics

    Completion and performance reporting by person, institution and zone.

Results

  • Delivered to the Prison Department in November 2025 and in continuous use since.
  • One central record of training across institutions, replacing scattered local tracking.
  • More than 500 commits of refinement after launch, driven by feedback from officers and admins.

Built with

Next.js 16, React 19, TypeScript, PostgreSQL (Neon), Prisma 7, Auth.js v5, Bunny Stream (HLS), Bunny Storage CDN, Resend, TanStack Query, Tailwind CSS v4 and Sentry.