Admin page -> QR detection page -> User information -> Check-in user
From the admin page, the admin should be able to click a button to be routed to the QR detection page.
From the QR detection page, the camera will open and try to scan for a QR code.
Once scanned, it should display username, uwEmail, faculty, hasPaid, and isCheckedIn of the user. (/api/admin/getUserById/:id)
If the user has not paid - Display message that user needs to pay
If the user has paid, but is not checked in - Display button to check them in
If the user has paid and is checked in - Display message that user has already checked in to current event
Check in button sends a PUT to (/api/admin/checkInById/:id)
At all times there should be a button to return to camera.
Admin page -> QR detection page -> User information -> Check-in user
From the admin page, the admin should be able to click a button to be routed to the QR detection page. From the QR detection page, the camera will open and try to scan for a QR code. Once scanned, it should display
username
,uwEmail
,faculty
,hasPaid
, andisCheckedIn
of the user. (/api/admin/getUserById/:id)Check in button sends a PUT to (/api/admin/checkInById/:id)
At all times there should be a button to return to camera.