feat(01-01): install Drizzle ORM, postgres-js, and configure DB client

- drizzle-orm@0.45.2 + postgres@3.4.9 installed (postgres-js driver)
- drizzle-kit@0.31.10 installed as dev dependency
- nanoid@5, zod@4, react-hook-form, @hookform/resolvers installed
- src/db/index.ts: Drizzle client initialized with postgres-js driver
- drizzle.config.ts: configured for postgresql dialect + src/db/schema.ts
- .env.example: added as public template (no secrets)
- .gitignore: allow .env.example while blocking all other .env* files
This commit is contained in:
Simone Cavalli
2026-05-13 15:30:53 +02:00
parent 9563b87c81
commit 6b5609b0cb
6 changed files with 1744 additions and 9 deletions
+2 -1
View File
@@ -30,8 +30,9 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# env files (can opt-in for committing if needed)
# env files — exclude secrets, allow public template
.env*
!.env.example
# vercel
.vercel