Skip to content

School gate check-in and attendance

A product experiment I built end to end: gate check-in and attendance for private schools, using printed ID cards with QR codes and any phone as the scanner. It’s shown here with a fictional school and demo data.

Year
2026
Credits
Self-initiated product. Designed and built by me.
Built with
Next.js, TypeScript, Tailwind CSS, Supabase (Postgres, Auth, row-level security, pg_cron), Installable web app with an offline queue
Try the demo (opens in a new tab)
The system for a fictional school on desktop and mobile. The desktop shows the Today dashboard: 266 present, 23 late, 8 absent, and a bar for each section. The phone shows the gate scanner with a green “IN · On time” result, a student’s name and section, and a grey placeholder where the photo goes.
The Today dashboard on desktop and the gate scanner on a phone. Every scan updates the dashboard. Demo data.

The problem

Many private schools and training centres still take gate attendance on paper or in spreadsheets. Late lists, absences and parents’ questions get pieced together by hand, often hours later. And the records are about minors, so privacy had to be part of the design from the start, not a policy added afterwards.

What I built

Phase 1 covers gate attendance only. The school imports the student list it already keeps, prints ID cards, and the guard scans them with a phone. Attendance for each section, the reports and the corrections all follow from those scans, and each role sees only what it needs.

  • Spreadsheet import of the student list (CSV or Excel), with a preview before anything is saved. Importing again updates students instead of adding them twice.
  • Printable ID cards, ten to an A4 sheet, with a QR code that holds only a random code.
  • A phone scanner that works offline: scans queue on the phone and sync when the connection is back.
  • A live Today dashboard with who is present, late or absent in each section.
  • Teacher corrections, such as an excused absence, need a reason and are recorded in an audit log.
  • Daily and period reports, printable and as CSV.
  • Roles: guards can only scan, teachers see their own sections, admins see their whole school.
  • Settings for school hours, class days and no-class days, and optional emails to guardians when a student arrives late.
  • Optional student photos on the ID cards and the scan result.
  • One school colour sets the whole look, so each school sees its own.

Outcome

Built and tested end to end with a fictional school, Molave Ridge Academy, two weeks of demo data, and new demo scans every school morning. It isn’t in use at a real school yet. Its foundations (roles enforced by the database, an offline queue, audit logs and printable reports) are ready to reuse in other business systems.

Privacy, built in

  • The QR code holds a random code, not a name or student number. A lost card can be replaced, and the old code stops working.
  • Offline, the guard’s phone keeps only scrambled card codes, never names. Guards can’t open the student list at all.
  • Student photos are optional. They’re stored privately and shown only to admins, the student’s own teachers, and the guard at the moment of a live scan, never offline or on the self-scan kiosk screen. The browser crops each photo and removes its location data. There’s no face recognition and no biometrics.
  • Old gate scans are deleted automatically after a period the school sets. Admins can export a student’s data or erase it on request.
  • I designed it with the Data Privacy Act of 2012 in mind. The school stays the owner of its data.
Three phone screens of the gate scanner: a green “IN · On time” result, an amber “IN · Late” result, and a red “Unknown or revoked card” result that says to send the student to the office.
Each result has its own colour, icon and words, so a guard can read it at arm’s length in sunlight. Demo data.
The teacher view for Grade 5 – Yakal: totals for present, late, absent and not yet, then the class list with arrival times. One student is marked excused, with the reason underneath.
Teachers see only their own sections. A correction, like this excused absence, needs a reason and goes in the audit log. Demo data.
The daily attendance report filtered to late arrivals: totals at the top, then each section with the late students, their arrival and departure times, and buttons to download a CSV or print.
The daily report builds itself from the scans. Here it’s filtered to late arrivals; it also prints one section per page. Demo data.
A sheet of printable ID cards for one section: each card has the school’s name, a grey photo placeholder, the student’s name, section and number, and a QR code.
ID cards print ten to an A4 sheet, at the size of a bank card. The QR code holds only a random code. Demo data.
The same Today dashboard four times, in green, maroon, navy and orange school colours. The status colours for present, late and absent stay the same in all four.
One school colour sets the whole theme. The status colours never change, so present always means the same thing. Demo data.

Tell me what you’re working on

You don’t need a full brief. Send a few lines about what you want to build or fix, and I’ll reply with clear next steps, usually within a few working days.