pnpm workspace monorepo using TypeScript. The project now includes a dark-theme Habit Tracker web app at the root preview path. The habit tracker is frontend-only and stores habits/completions in browser localStorage.
- Monorepo tool: pnpm workspaces
- Node.js version: 24
- Package manager: pnpm
- TypeScript version: 5.9
- API framework: Express 5
- Database: PostgreSQL + Drizzle ORM
- Validation: Zod (
zod/v4),drizzle-zod - API codegen: Orval (from OpenAPI spec)
- Build: esbuild (CJS bundle)
- Frontend: React + Vite + Tailwind CSS
artifacts/habit-tracker— dark habit tracker web app served at/; supports creating, editing, deleting, bulk deleting completed, marking important, and completing daily habits with local persistence.artifacts/api-server— shared Express API server served at/api.artifacts/mockup-sandbox— design/mockup preview sandbox served at/__mockup.
pnpm run typecheck— full typecheck across all packagespnpm run build— typecheck + build all packagespnpm --filter @workspace/api-spec run codegen— regenerate API hooks and Zod schemas from OpenAPI specpnpm --filter @workspace/db run push— push DB schema changes (dev only)pnpm --filter @workspace/api-server run dev— run API server locallypnpm --filter @workspace/habit-tracker run dev— run the Habit Tracker web app locally
See the pnpm-workspace skill for workspace structure, TypeScript setup, and package details.