Skip to content
Amine Benlaroui
All projects

Internal web app, army

Contrôle d'instruction

A paper marking sheet replaced by entry from a phone. The weekly export generates itself.

Period
July to October 2026
Context
Internal tool, built for the team of instructors I worked with
Stack
Next.js, TypeScript, PostgreSQL, Supabase
Checks recorded
Over 1,200
In use
Every day, July to October 2026

The problem

After each training session, every instructor filled in a paper sheet: for each trainee, passed, failed or absent, plus a comment. Before the Friday evening deadline, the sheets were consolidated by hand and retyped into a spreadsheet. Slow, and easy to get wrong.

What I built

  • Entry fits on a phone, standing up, right after the session. A session given to several groups is entered once and creates every record in one go, each group staying correctable on its own.
  • A write is all or nothing: a record and every result of its group land together, or nothing is saved. The guarantee is held by the database itself, because a network drop at the wrong moment would otherwise leave a half-filled record.
  • The export drops the shape of the paper sheet: one sheet, trainees in rows in alphabetical order, sessions in columns.

The detail that cost me time

The server runs on universal time, not Swiss time. On Mondays between midnight and two in the morning it still thought it was Sunday and showed the wrong week. Locally the problem was invisible. Every date now goes through an explicit time zone, and the tests deliberately run in a zone other than mine.

Result

Used every day from July until the end of service in October 2026: over 1,200 checks recorded. Feedback from the instructors was very positive, including from the lead who had the overview.