Home/Hire/QR Attendance System

Case Study · 2024–Present

Node.jsReact.jsPostgreSQLRedisDockerQRAdmin Dashboard

QR Attendance System

Full-Stack System · Performance Engineering

2,000+Daily Users in Production

The Problem

A university needed to track attendance for thousands of students across 7 different faculties. The existing process was manual — paper registers, spreadsheets, and a lot of wasted time for instructors. The system had to handle peak load when hundreds of students scan at the same time at the start of a lecture, work on any phone without an app, give admins a dashboard to view and export records, and stay up 100% of the time during working hours.

The Solution

Hamed designed and built a complete QR-based attendance system. Students scan a QR code displayed in class — it opens in their browser, records attendance instantly, and closes. Each QR code is time-limited to prevent cheating. Instructors and faculty admins log into a dashboard to see records, generate reports, and manage the system. On the backend, Hamed built a hybrid verification pipeline: fast in-memory checks for speed, database confirmation for accuracy, and automatic fallback if any part fails. Redis caching was added to dramatically reduce database load during peak scanning times.

Technologies Used

  • Node.js + Express.js (backend API)
  • React.js (student check-in UI)
  • React.js + admin dashboard (faculty control panel)
  • PostgreSQL (student and attendance database)
  • Redis (caching layer for peak load)
  • Docker (containerized deployment)
  • JWT (secure time-limited QR tokens)
  • Opossum (Circuit Breaker for 99.9% uptime)

Results

98% latency reduction

API response time dropped from 94.91ms to just 1.53ms after Redis caching and query optimization.

+6,100% throughput

System now handles up to 653 requests per second — able to process hundreds of students scanning at the same moment.

2,000+ daily users

The system runs in production daily for students and faculty across 7 university faculties.

99.9% uptime

Circuit Breaker pattern (Opossum) ensures the system stays live even if a backend service experiences issues.

~85% test coverage

Comprehensive test suite covering verification flows, failure scenarios, and edge cases.

15+ vulnerabilities fixed

SAST/DAST security scanning caught and resolved 15+ issues before the system went live.

What This Proves

This is a live production system, not a demo. It runs every day for real students and faculty at Tokat Gaziosmanpaşa University, Turkey. The admin panel is accessible at yzdd.gop.edu.tr/qr-admin/ and the student UI at yzdd.gop.edu.tr/qr-ui/.

If you need an attendance system for your school, company, or event — Hamed can build one for you.