Solo developer ships four apps from a single Turborepo using shared packages
A solo developer built SportsFlow, a platform consisting of a web app, mobile app, marketing site, and documentation site, all managed within a single Turborepo monorepo using pnpm. To keep the project sustainable without a team, the developer structured shared packages for the UI design system, tRPC API router, authentication, database schema, and analytics so all four apps stay in sync. Type safety is enforced through Zod-first schemas, ensuring runtime validation and compile-time types never drift apart, while a layered tRPC procedure system makes multi-tenant data scoping structurally unavoidable rather than a manual checklist. Billing logic is deliberately isolated in a single file, meaning pricing changes never touch domain tables or require database migrations. The developer acknowledges trade-offs, noting the mobile app lags behind the web app and that React Native still requires its own UI primitives despite the shared codebase.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in