02 · Event platform

Codevents

Online registration, QR check-in and certificates for a school society’s events.

Type
Web app · built for CODES
Stack
Next.js 15, Firebase Auth, Firestore (Admin SDK only)
Role
Spec, product, build
18-second launch film. An event card changes into a ticket, QR scan, podium and certificate without a cut. I drew it in code using the product’s screens, rendered each frame and timed the sound to the animation.
01Context

Context

CODES runs hackathons, talks and workshops every school year. Sign-ups, attendance and certificates were handled by hand, and every year a new set of officers inherits whatever the last set used.

Codevents gives the society a platform that the next set of officers can take over each year and reuse for every event.

02Problem

Problem

New officers take over each school year and often lose access to the previous system.

Officers needed to hand over access without changing code. The app also had to prevent duplicate registrations and check-ins using someone else’s ticket.

03What it does

What it does

Follow the steps in a walkthrough based on the app’s screens. Open it full size

Students

Sign in with a school Google account, sign up solo or as a team, get a QR ticket, and download a certificate after attending.

Officers

Create events, open and close registration, scan tickets at the door, pick winners and export attendee lists.

Owners

The adviser or president adds and removes officers, so access passes from one year’s officers to the next.

Teams

One student creates a team and gets a 6-character invite code. If the captain leaves, the role passes to the next member.

04Engineering

Engineering

The browser never touches the database

Firestore rules deny everything. All reads and writes go through the server, which checks the session cookie first.

One stored status

Draft, open, closed or cancelled is stored. “Happening now”, “Awaiting results” and “Completed” are worked out from the dates, and unit tested.

Tickets that can’t be guessed

Each registration has a secret token in its QR. Scanning the same ticket twice says “already checked in”.

Runs without a Firebase project

Local development uses the Auth and Firestore emulators with seeded demo events.

05Major decisions

Major decisions

How access is handed down

Chose
Two roles, Owner and Officer, managed in the app. The old owner adds the new president.
Over
Hard-coded admin emails.
Because
The outgoing officers need to transfer access themselves.

Who can sign in

Chose
Google sign-in limited to the school domain, checked on the server.
Over
Open sign-up with email and name duplicate checks.
Because
The school account identifies each student. The record id limits that student to one registration per event.

Waitlists

Chose
Optional capacity, no waitlist, in v1.
Over
A waitlist with promotions.
Because
Registration closes when capacity is reached. The society doesn’t yet need the notifications a waitlist would require.