● SIDE PROJECT · 01
MatchYard
Status · TestFlight beta
Year
2026
Role
Product and engineering lead, with AI coding agents
Focus
- Native iOS
- TypeScript
- Geospatial
(01) Context
MatchYard is the app I wanted to exist: open it, see people nearby who want to play the same sport at your level, and message them. I designed the product and directed Claude coding agents to build it, owning the specs, architecture, code reviews, and testing across a native SwiftUI client, a TypeScript backend, and the infrastructure under both. It started on a hosted backend-as-a-service and moved to a first-party stack I control.
The problem
A find-people-near-you app lives or dies on two things most weekend projects skip: location queries that are fast and safe, and an auth system you'd actually trust with strangers meeting in person. Both had to be production-grade before a single user signed up.
(02) Approach
- 01
Native client, stateless backend
SwiftUI on iOS 17 (MVVM, async/await throughout) against a stateless Express/TypeScript API. PostgreSQL 16 + PostGIS holds the spatial data, Redis backs rate limiting, and the schema evolves through versioned migrations.
- 02
Auth from scratch
First-party JWT auth with rotating refresh tokens, bcrypt, Sign in with Apple over ES256/JWKS, and Twilio phone OTP, replacing the hosted auth it started on. Tokens live only in the Keychain, and a single-flight refresh coalesces parallel 401s so concurrent calls can't race.
- 03
Geospatial discovery, safety-aware
Nearby queries run on PostGIS and exclude blocked users in both directions, so safety is part of the query instead of being bolted on after.
- 04
Graceful AI matchmaking
The Claude API scores candidate matches, but a deterministic heuristic (sport overlap, skill, distance, availability) keeps matching working if the model is ever unavailable. No hard dependency on the LLM.
- 05
Owned the whole pipeline
Multi-stage Docker and docker-compose (Postgres/PostGIS, Redis, API) with healthchecks, CI that runs integration tests against real Postgres and Redis instead of mocks, and a fastlane pipeline to TestFlight. AWS Rekognition image moderation, face-liveness verification, and an audit-logged admin panel cover trust and safety.
(03) Outcome
A pre-launch app in TestFlight beta with legal pages and App Store privacy labels in place, backed by ~400 backend tests.
87
merged PRs, agent-built, human-reviewed
~400
backend tests
15
TestFlight builds
Next case
Diamond Hand →