GatherPass
What happens when two people grab the last seat at the same moment?
Event registration and check-in platform for college events and meetups, built so a seat is never sold twice and a ticket can never be scanned in twice, even under heavy load.
- What it is
- Personal project
- My role
- Built solo
- Year
- 2026
- Status
- Built, not deployed yet
- Next.js
- TypeScript
- Node.js
- Express
- PostgreSQL
- Tailwind CSS
- Docker
The problem
Small college events and meetups run registrations on forms and spreadsheets: seats get oversold when sign-ups spike, UPI payments are checked by hand, and the entry desk ends up matching names on a printed list, often with patchy internet.
How I solved it
- One flow from registration to UPI payment review to check-in at the door.
- Every booking gets an auto-generated QR code. The organizer scans it at the entrance to let people in, and each ticket can only be used once.
- Group bookings with per-person limits, guest names, partial seat release, per-seat refund tracking and waitlists. Check-in is per person, not per booking: if 10 tickets are booked and 7 people arrive on time, the organizer checks in just those 7, and the same QR lets the other 3 in when they turn up later.
- Offline check-in: the guest list is cached on the device and scans sync once it reconnects.
- Email/password sign-in with OTP verification and Google OAuth, event-scoped organizer roles, admin review of paid events, duplicate-payment detection and bot protection.
- CSV/PDF attendee exports, light/dark themes, and a guided product tour with live seat-race and group check-in simulations.
- No sign-up needed to explore: you can continue as a guest and take the guided tour of the whole app.
System design
- Frontend: Next.js and TypeScript web app.
- API: Express and TypeScript, sharing one types package with the frontend so both sides agree on every request and response.
- Database: PostgreSQL with raw SQL. Seat counts are updated with row-level locks and conditional updates, and unique/CHECK constraints make overselling and duplicate check-ins impossible at the database level.
- Runs in Docker containers.
Trade-offs
- Raw SQL over an ORM: full control over locks and conditional updates where correctness matters most. Cost: more hand-written queries to maintain.
- Rules enforced in the database, not just in code: concurrent requests can't slip past them. Cost: constraint errors have to be turned into friendly messages.
- Offline-first check-in: the door keeps moving with no signal. Cost: syncing scans later needs conflict handling so one ticket can't enter twice from two devices.
- UPI payment review instead of a payment gateway: no gateway fees for small organizers. Cost: someone has to confirm each payment, so duplicate-payment detection does the heavy lifting.