PU Selection
A voting platform for PU Myeik’s King, Queen, Prince and Princess selection, with public ballots and judge scoring.
- Event
- King, Queen, Prince and Princess selection
- Setting
- Campus event at PU Myeik
- Voting
- Public ballots and judge scoring
- Peak visitors
- 2,500+
- Platform
- Web, hosted on Vercel
Overview
A web platform that streamlines standout student selection across majors: transparent voting, judge workflows, reusable event rooms, and archives that stay reserved for institutional memory, all tuned for high-traffic open nights.
PU Selection digitizes a longstanding campus tradition: elevating students across majors into ceremonial roles. The product has to feel festive for attendees while remaining strict for auditors. Every vote and judge score needs a paper trail without slowing the show.
I wanted a paper trail for every vote.
What the platform does
Role-based voting
Separate flows for public ballots and judge scoring, so weighting stays explicit and auditable.
Media pipeline
UploadThing-backed storage for candidate imagery: fast uploads, predictable URLs, and admin-friendly handling.
Rounds and control
Admin tooling to open and close rounds, align the event schedule, and keep the floor on script.
Rooms and archive
Reusable room templates for recurring events, plus archive reservation so history stays organized.
What had to land for opening night
Engineered for burst traffic during live voting: static-friendly delivery, a disciplined client cache, and operator tooling that does not fight the clock.
Peak traffic
Built for 2,500+ visitors at peak during voting windows without turning the UI into a bottleneck.
Separate access by role
Clerk-authenticated surfaces with clear separation between voters, judges, and operators.
Validated data
Zod-validated inputs end to end, with Prisma and MongoDB for resilient document-style workloads.
Instant round changes
TanStack Query for snappy client cache behavior where every round change must feel instant.
Candidate media
UploadThing integration for candidate media, with predictable delivery on Vercel’s edge footprint.
How it’s built
Next.js anchors the experience, Clerk gates privileged routes, Prisma speaks to MongoDB with type-safe models, and Zod guards every mutation. TanStack Query keeps the UI responsive as rounds advance, UploadThing covers rich media, and Vercel hosts the whole stack at the edge.
Screens and flows
Candidate profile previews, voting, and result tracking.
Built with
- TypeScript
- Next.js
- Zod
- Prisma
- MongoDB
- Clerk
- UploadThing
- TanStack Query
- shadcn/ui
- Vercel







