habitify-tracker
Habit tracker built as a Turborepo monorepo, with a Next.js web app, Supabase backend and a shared core ready for a mobile app.
- date
- stack
- next.js typescript supabase turborepo playwright vitest
- code
- private repo
Work in progress. The interesting part is the structure rather than the feature list:
- Monorepo (pnpm and Turborepo): a Next.js web app plus shared
core,dbanduipackages - Framework-free business logic:
coreimports nothing from React, Next.js or the DOM, so the planned mobile app can reuse it as is - Strict boundaries: TypeScript strict mode, Zod validation on every form, route and env var, and mutations only through server actions
- Tested: Vitest for the core logic and Playwright for end-to-end flows