# OhBirdie!

SaaS for running American Mahjong events in the US and Canada, with public event pages, organizer and player areas, registration and waitlists, QR check-in, live tournaments, Stripe payments and messaging. The hard parts were two roles on one account, payments and live tournament rounds.

- **Facts:** 2026, Built for a client, Live, role: Lead developer
- **What I did:** Led 1 other developer and built about half of the application: the whole back end, the DevOps, the event lifecycle, player and public UI, most of the tests and documentation. Set the architecture, planned the tasks and reviewed the code. The API has 220+ type-safe oRPC procedures on 30+ Prisma models, covered by 450+ test files and 3,000+ test cases, and serves more than 24,000 API calls a month in production.
- **Scope:** fullstack, backend, devops
- **Domain:** media
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, Prisma, PostgreSQL, oRPC, Better Auth, Stripe, Base UI, SEO, Webhooks, Cron jobs, Google Maps, PostgreSQL RLS, Docker Compose, Core Web Vitals, OpenTelemetry, Leaflet, Lighthouse CI, PostHog, GitHub Actions, Vitest, TanStack Query, Zod, Resend, Twilio, Upstash Redis, React Hook Form, TanStack Table, Recharts, Supabase, Motion, nuqs, Claude Code, Playwright, Figma, Docker, Biome, shadcn/ui, T3 Env, date-fns, dotenvx, React Compiler, Ultracite, pnpm, Vercel, Python, Turbopack
- **Live:** https://ohbirdie.com
- **Page:** https://sergey-petrinich.vercel.app/work/ohbirdie
- **Screenshot:** https://sergey-petrinich.vercel.app/work/ohbirdie.webp

Capabilities:

- Four-step wizard with autosaved drafts, duplicate, cancel and restore, for public, private and recurring events
- A publish check that holds paid events until Stripe Connect is set up
- Drag-and-drop seating plan with skill balancing, table and East-seat locks and three-player tables
- Single tickets, several tickets or a whole table, a waitlist with 24-hour offers and invitations with free seats
- QR check-in with a short code fallback, and a live view of each player's table and seat
- Rounds with per-table scores, configurable tiebreaks, live standings and results
- Open play and lessons
- Stripe plans, subscriptions and Connect onboarding and payouts for organizers
- Refunds that return the ticket price and keep the service fee
- SMS broadcasts through Twilio and email through Resend, with consent, quiet hours and dead-letter retry
- Organizer and player roles on one account
- Player database with CSV import and export, PDF rosters, plus an admin area with KPIs, moderation and an audit log

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
