BK-Sync is a smart attendance system using dynamic QR codes (Real-time QR Attendance) built on the AWS cloud platform. The system leverages the power of Serverless architecture to handle thousands of concurrent student access at the beginning of classes without maintaining continuous servers.
In universities with large class sizes (50-150 students), traditional roll-call methods consume too much time and disrupt lectures. Using static QR codes for attendance makes it easy for students to take photos and share them with absent friends. BK-Sync solves this problem by generating dynamic QR Codes (auto-refreshing every few seconds) and expiring the token immediately after the session ends.
The system is designed with a 100% Serverless model, taking full advantage of AWS managed services:

| AWS Service | Purpose / Role | Reason for Selection |
|---|---|---|
| Amazon Cognito | User Identity Management (Authentication & Authorization for Admin, Teacher, Student) | Convenient, built-in login interface, secure |
| Amazon API Gateway | Acts as the communication gateway between Frontend and Backend | Good load handling, DDoS protection, easy integration with Lambda |
| AWS Lambda | Processes business logic (Core logic) | Serverless, no server management required, pay-per-request only |
| Amazon DynamoDB | NoSQL database for data storage | Millisecond read/write speeds, infinite scalability |
| AWS Secrets Manager | Stores HMAC secret key for QR code encryption | High security, prevents secrets from leaking into source code |
| AWS Amplify Hosting | Automatic Frontend deployment | Smooth CI/CD, free SSL certificate support |
Thanks to the Serverless architecture, the system mostly operates on a Pay-as-you-go model. Most services (Lambda, DynamoDB) fall completely within the AWS Free Tier. However, there are a few minor costs to consider: