Yıldız
Cafeteria access and payment system for schools
A cafeteria access and payment system developed for a school, replacing its legacy turnstile software and readers with a modern web application and a custom ESP32 turnstile controller. Each turnstile decides from its own access list, so lunch service continues even when the server is unavailable. The school office manages enrollment, payments, discounts and reporting from a single application. In load tests with ten years of data, a 10-minute lunch rush of 1,694 card reads was processed with no reads lost or counted twice.
Highlights
- Turnstiles make access decisions locally, so students with paid meals get in even when the server or network is down.
- A custom ESP32 turnstile controller with offline decisions, power-loss-safe logging and over-the-air updates.
- Payments, sibling discounts, monthly billing, receipts and Excel/PDF reports for the school office.
- Continuous monitoring with alerts, verified nightly backups and a guided term rollover.
- Developed against a turnstile simulator and load-tested with ten years of school data.
Technologies Used:
.NET 10
C#
ASP.NET Core
SignalR
PostgreSQL
React
TypeScript
ESP32
ESP-IDF
C++
Playwright
Screenshots
All
Desk
Turnstiles
Operations

Home during lunch

Student page

Monthly report

Live passes

Device panel, a turnstile offline

Term rollover wizard

Turnstile simulator