Skip to content

Configure Site Infrastructure #3

@TKanX

Description

@TKanX

Description:

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

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions