Skip to content

Understanding Attendizer

thegu5 edited this page Nov 7, 2022 · 8 revisions

Code for Attendizer

Looking at the repository for Attendizer, you'll notice 2 folders: client and server.

Client

The client is built with Next.js.

Pages

admin.js This is the admin panel. There is a table, with each row being a StudentEntry that contains the student's ID (database key), Name (full name), OSIS (9-digit student ID number), and UID (13-digit number on ID card).

The Edit and Delete buttons allow you to edit a student's information (name, OSIS, UID), or delete the student entirely.

To add a student, press the Add Student button below the table. To export the student info, press the Export as XLSX button.
index.js This is the home page for the application. There's a small text box that takes in ids of students, and a larger box above that logs recent scan-ins. If invalid information is given, an error will display.
meetings.js Description here

Server

Clone this wiki locally