Admin Help Guide
நிர்வாக உதவி வழிகாட்டி
Everything you need to know to set up and manage a Vazhai Ilai Virunthu potluck event — from creating the event to QA inspection on the day.
Overview
கண்ணோட்டம்The admin portal lets you manage the full lifecycle of a school potluck event. The typical workflow looks like this:
Create the event — set date, venue, attendee count, and registration deadline.
Design the menu — add dishes and the system calculates how many tray slots are needed.
Share the sign-up link with parents — they register their student and claim a dish slot.
On the day — QA inspectors log in with their PIN and mark each dish as approved or flagged.
The SUPER_ADMIN role has access to everything including migrations, student import, and creating other admins. The EVENT_ADMIN role can manage events, menus, sign-ups, and QA inspectors.
Managing Events
நிகழ்வுகளை நிர்வகிக்கவும்Events are created from the dashboard. Each event is independent — it has its own menu, sign-ups, and QA inspectors.
Creating an event
Go to Dashboard → + New Event and fill in:
Event NameThe display name shown to parents on the sign-up page, e.g. "Spring Potluck 2026".
Date & TimeWhen the event takes place. Used for display only — does not enforce any cutoff.
VenueLocation shown to parents, e.g. "Redmond Middle School Cafeteria".
Expected AttendeesTotal headcount (students + family). Used to calculate how many tray slots are needed for each dish.
Registration DeadlineAfter this date and time, the parent-facing sign-up page stops accepting new registrations.
Event status
Change the status from the event detail page header dropdown:
OpenstatusSign-ups are live. Parents can register on the public page.
ClosedstatusSign-ups are no longer accepted. Data is still visible.
ArchivedstatusEvent is hidden from the default dashboard view. Use for past events.
Edits Locked toggle
The 🔒 Edits Locked / 🔓 Edits Open button controls whether parents can still edit their existing sign-up after submitting. Lock registrations once you are done reviewing sign-ups so parents cannot shuffle slots around.
Deleting an event is permanent and removes all menu items, sign-ups, and QA inspectors associated with it. You will be asked to type the event name to confirm.
Sign-Ups
பதிவுகள்The Sign-Ups tab shows every parent who has registered for the event. Each row shows the parent name, the student they signed up for, the dish(es) they claimed, and their party size.
Use the Export CSV button to download the full sign-up list as a spreadsheet.
To share the sign-up link with parents, click the 🔗 Sign-Up Link button on the event header — it opens the parent-facing registration page in a new tab. You can copy that URL and send it via email or WhatsApp.
Cancelled sign-ups are excluded from the list automatically. They are kept in the database for audit purposes.
QA Inspectors
தர கட்டுப்பாட்டு ஆய்வாளர்கள்QA Inspectors are volunteers who check dishes as parents deliver them on event day. Each inspector gets a 6-digit PIN to log in at /qa/login.
Creating an inspector
Go to the event → QA Inspectors tab.
Enter the inspector's name and click + Create PIN.
A 6-digit PIN is generated automatically and shown once. Copy it and give it to the inspector.
The inspector visits /qa/login and enters their PIN to access the inspection dashboard.
Inspector actions
Active / RevokedToggle the inspector on or off. A revoked inspector cannot log in.
New PINGenerate a fresh 6-digit PIN. The old PIN stops working immediately.
On event day, inspectors see each sign-up item and can mark it as QA Approved or QA Rejected. Admins can override any decision from the Live Dashboard.
The PIN is shown only once at creation and when regenerated. It cannot be recovered — only regenerated. Store it securely or share it immediately.
Students & Import
மாணவர்கள் மற்றும் இறக்குமதிThe Students section lets you view all students in the database, add or edit individual records, and import the school roster from an Excel file.
Importing from Excel
Go to Students → Import from Excel tab.
Upload the school roster .xlsx file.
A preview of the first 5 rows and total count is shown before importing.
Click Import. Existing records are updated; new ones are inserted. Nothing is deleted.
The importer expects these columns (in order): id, student_id, first_name, last_name, grade, section. Additional columns (teacher, room number, etc.) are ignored.
Student IDs can be numeric (52885), teaching-assistant format (TA-01), or gateway format (GW-001).
Editing a student record
Use the Student List tab to search and find a student, then click Edit. You can update the name, grade, and section. If a parent is already linked to the student (they signed up for an event), their name and phone are also shown and editable.
There is no bulk delete. To remove all students and start fresh, use the database console to truncate the students table — not available through the admin UI to prevent accidents.
Admin Accounts
நிர்வாகி கணக்குகள்Admin accounts are managed from Manage Admins (SUPER_ADMIN only). Login is code-only — no email or password.
SUPER_ADMINroleFull access — events, students, admins, migrations. There should be at least one super admin at all times.
EVENT_ADMINroleCan manage events, menus, sign-ups, and QA inspectors. Cannot access migrations, student import, or admin management.
Creating an Event Admin
Click + New Admin, enter the person's name.
A random 6-digit login code is generated and shown once. Share it with the new admin immediately.
The new admin logs in at /admin/login using their code.
Managing existing admins
Deactivate / ActivatePrevents the admin from logging in without deleting their account.
New CodeGenerates a fresh 6-digit code. The old code stops working immediately.
DeletePermanently removes the admin account. Cannot be undone.
The initial SUPER_ADMIN login code is set via the SUPER_ADMIN_CODE environment variable in Vercel. It grants temporary setup access and is never stored in the database.