Projects

CPS AgoraThe ecosystem of software and hardware used by all 400+ students, faculty, and staff

Agora is the platform College Prep runs on. Students and teachers open it every day to sign in and out of school, pick a Common Classroom session, find a tutor, join clubs, and check the schedule.

I joined the Innovation Team in 2024 as a junior web developer. Now I lead web development. This year I rebuilt the web app from scratch, and we launched the new Agora at the start of the school year.

Signing In and Out of School

Students used to sign in and out on paper. Now there’s an iPad in the welcome center with a QR code on it, and they scan it with their phone on the way in and out.

I came up with it and built it. I thought the hard part would be the code. Instead, it was trust. Attendance is how a school knows where its students are, and handing that to a team of students is a big ask. It’s kind of special that ours said yes.

The paper sign-in sheet is gone.

The attendance iPad: a QR code under the word Attendance, a live clock, and a ring counting down to the next code

The iPad in the welcome center. The ring counts down to the next code.

A phone after scanning the code, with Sign In and Sign Out buttons

Why the Code Keeps Changing

A QR code that never changed would be easy to cheat. Someone could take a photo of it once and sign in from anywhere, any day.

So the code on the iPad keeps changing, and each one expires soon after it appears. An old or made-up code never signs anyone in.

Built for a Bad Day

Attendance matters most in an emergency, which is also when the network is most likely to be down.

Throughout the day, the iPad keeps a copy of who’s signed out, along with the roster and student photos, on the device itself. The emergency roster opens from that copy with no connection at all.

The emergency roster, saved on the device, listing every student off campus and why

Saved on the device, so it opens with no connection.

Common Classroom

Common Classroom is College Prep’s Friday enrichment period. Students and teachers pitch short sessions, from sourdough to mock trial, and everyone signs up for one.

Agora runs the whole week: pitches, the catalog, sign-ups, attendance, and the dashboards the administration uses to keep track of it all.

The Common Classroom attendance dashboard: 352 of 360 signed in, and a card per session with its room, hosts, and sign-ins

The live dashboard on a Friday: who has signed in to each session, and who hasn’t shown up anywhere.

Lost & Found

Anyone can post something they lost or found, with a photo, so the owner can spot it from their phone.

Lost & Found: photos of items like an earbuds case, a calculator, and water bottles, each with who posted it and when

The Rest of the Square

Tutor Troopers
Find a peer tutor who is free the same block you are.
Clubs
Browse and join clubs, or propose a new one.
Schedule
The week’s block schedule, imported from the school calendar.

How It’s Built

Agora is a Next.js app on Supabase. Almost every table has row-level security, so permissions live in the database rather than in page code.

Next.js
About 70 pages, rendered on the server
Supabase
Postgres with row-level security on almost every table, and Google sign-in
Redis
Caches attendance codes so a scan is checked quickly
Cloudflare R2
Photos for profiles, clubs, and Lost & Found
Vercel
Every pull request goes to a dev site first, then ships in batches

Every student and teacher in these screenshots is made up. The names, faces, attendance records, and sessions are sample data, and the faces are AI-generated. No real student data appears on this page.