You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up global configurations, environment variable validation, type definitions, and Prisma Client singleton to establish a solid foundation for development.
Tasks:
Install Zod for environment validation (npm install zod)
Create src/config/site.ts with site metadata and navigation config
Create src/config/env.ts with Zod-based environment variable validation
Create src/types/index.ts with common TypeScript type definitions
Create src/lib/db/client.ts with Prisma Client singleton pattern
Verify Prisma Client can be imported and used correctly
Description:
Set up global configurations, environment variable validation, type definitions, and Prisma Client singleton to establish a solid foundation for development.
Tasks:
npm install zod)src/config/site.tswith site metadata and navigation configsrc/config/env.tswith Zod-based environment variable validationsrc/types/index.tswith common TypeScript type definitionssrc/lib/db/client.tswith Prisma Client singleton pattern