Project 06 of 84
Deal Night
Deal Night (dealnight.app) organizes home poker game nights: schedule games, manage groups, send invites, track RSVPs and results, with email/push (and built-but-gated SMS/iMessage) notifications.
- Status
- Shipped
- Last activity
- 2026
- Stack
- TypeScript
- pnpm workspaces
- Turborepo
- Hono
- Next.js
- React
- react-native-tvos
- Tauri
Highlights
- Migrated Deal Night's production Hono API from Render to a self-managed CapRover host on a Hostinger VPS. Builds push immutable ECR image tags, and a GitHub Actions deploy gates on a /health/deep readiness poll after a live test showed real 502s between CapRover's 'deploy done' and the app actually serving.
- Cut the API container image from 1.67GB to 828MB (-51%; 355MB to 183MB compressed) by moving to a multi-stage, production-only pnpm install. Rejected `pnpm prune --prod` after finding it wiped other workspaces' node_modules on pnpm 10.
- Replaced EAS with fastlane mobile release pipelines on self-hosted GitHub Actions runners, verified with a real TestFlight upload and Android release build. Diagnosed and fixed a Gradle Metaspace OOM, wired ccache, and split signing secrets into a dedicated 1Password item.
- Root-caused an iOS 27 launch crash to Apple's new UIKit scene-lifecycle requirement (TN3187), verified the fix on a physical device, resubmitted to App Review, and rolled the same fix out to 6 sibling Expo apps.
- Shipped Apple Guideline 1.2 UGC moderation in one change (66 files): a chat content filter, report/block endpoints and Prisma models, admin takedown with self-lockout and last-admin guards, an EULA zero-tolerance gate at registration, and optimistic client-side block filtering.
- Closed 8 Supabase Advisor 'RLS disabled' errors on the production database by enabling row-level security and revoking anon/authenticated grants on the remaining public tables. Before shipping, grep-verified that no client queried those tables through PostgREST.
- Built Deal Night's public marketing site as a credential-free static Next.js 16 app with 48 sitemap URLs. The API reference has one page per OpenAPI tag, and a test fails when the spec changes without matching docs. A build-time link checker fails on broken internal links or sitemap drift.
- Added CI supply-chain hardening: a published-artifact secret scan (gitleaks/trufflehog) on mobile and web deploys, fixed so it actually fails the job on findings, plus 1Password-backed secrets manifests fanned out to the API, Vercel, mobile signing and GitHub Actions.
- Ran a beads-driven backlog sweep that reconciled 81 open issues against code and git and shipped 4 PRs. They metered the cron endpoint and made its secret compare timing-safe, replaced an ad-hoc rate-limiter harness with Vitest, added test runners for the TV and desktop apps, and rewrote stale architecture docs.
- Wrote evidence-based CODING_STANDARDS.md and GLOSSARY.md for the monorepo, derived from measured code and config rather than a template. The standards record real inconsistencies (quote style, semicolons, docs vs code) instead of hiding them.