← Back to ProjectsEnterprise Hardware & Software
Enterprise Hardware & Software·Web Platform & Mobile PWA

NFC Attendance System

A production-grade NFC-based attendance management system for IT companies and manufacturing facilities.

NFC Attendance System cover
IndustryEnterprise Hardware & Software
PlatformWeb Platform & Mobile PWA
Tech Stack9 Technologies
Overview

Built with Next.js 15 and Turso SQLite, this system handles NFC tag enrollment, real-time attendance tracking, and offline buffering with automatic sync.

Includes a Progressive Web App with Web NFC API for Android tap check-ins and a standalone Node.js daemon for USB/Ethernet desktop readers.

The Challenge

Manual registers and PIN-based systems were slow, prone to buddy-punching, and dropped check-ins during network outages.

Buddy punching in factory environments
Network outages caused lost check-in data
Physical hardware readers couldn't communicate reliably with the cloud
What We Solved
Sub-second NFC badge tap-to-clock-in
Zero buddy-punching via cryptographically signed hardware reader agent
Offline buffering with service worker and local SQLite sync
Real-time HR analytics dashboard with one-click payroll CSV export

Engineering Architecture and Solutions

01

Standalone Reader Daemon

Developed a lightweight Node.js daemon communicating with USB/Ethernet NFC readers over PC/SC protocol with local queueing.

02

Edge SQLite Architecture

Powered by Turso edge database for ultra-low latency check-in verification.

03

Role-Based Access Control

Enforced strict role separation (Admin, HR, Reader, Employee) using Better Auth.

Challenges We Faced
Problem

Intermittent factory Wi-Fi causing dropped check-ins at shift change peaks.

How We Handled It

Built an offline FIFO buffer in IndexedDB that synchronizes automatically when connectivity resumes.

Measurable Results
0
Buddy Punching
< 250ms
Tap Verification
100%
Offline Data Retention
Streamlined check-in for 400+ employees with zero downtime during shift changes
Completely eradicated unauthorized clock-in attempts
Tech Stack
Frontend
Next.js 15TypeScriptTailwind CSSWeb NFC APIService Worker
Backend & Database
Turso SQLiteDrizzle ORMBetter AuthNode.js Agent

Have a similar product in mind?

Let's talk through your architecture, scoping and technical execution on a free consultation call.