This repository now uses a pnpm workspace layout:
apps/api: NestJS API backendapps/web: SvelteKit frontendpackages/shared: shared app contracts and types
pnpm install
pnpm dev:api
pnpm dev:webTo run both apps together:
pnpm devpnpm build
pnpm lint
pnpm check
pnpm test
pnpm test:e2e
pnpm drizzle:generate
pnpm drizzle:migrate
pnpm drizzle:seedThe API continues to read backend environment variables from the workspace root .env.
The SvelteKit frontend can use apps/web/.env for browser-safe PUBLIC_* variables.
cp .env.example .env
cp apps/web/.env.example apps/web/.envUse packages/shared for common API request and response types that both the
backend and frontend can depend on as the product grows.