2026 · Working foundation
Web + API Platform
One backend, two clients: web first, mobile next.
Next.js 15Tailwind CSS 4NestJS 11Drizzle ORMPostgreSQLZodTurborepoFly.ioGitHub Actions
P
The problem
Start with the website without ruling out a mobile app later, and without writing the same logic twice.
How I built it
- Turborepo monorepo with separate web and API apps.
- Next.js 15 and Tailwind CSS 4 on the frontend, NestJS 11 and Drizzle ORM on the backend.
- Types and Zod schemas shared in a common package: a single contract for API and clients.
- Local PostgreSQL with Docker Compose, API on Fly.io and CI on GitHub Actions.
What works today
- Web and API build and run from a single command.
- Contracts shared between backend and clients.
- CI/CD pipeline and deploy configuration included.
NotePrivate repository: the code is available on request.