Initial schema covers only the 3 base entities from PRD §8 — additional models (MealPlan, Recipe, WeightEntry, FastEvent, ShoppingList, etc.) will be added alongside their respective features. - Postgres datasource via DATABASE_URL - Enums: Role, Gender, ActivityLevel, Phase, CookingTime, FastingProtocol - Singleton PrismaClient export from @ketopath/db - Root scripts: db:generate / db:migrate / db:studio / db:seed / db:format - Seed stub at prisma/seed.ts - Ignore .claude/settings.local.json (per-user CLI permissions) The first migration must be run by the developer: pnpm db:migrate --name init Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
45 lines
424 B
Plaintext
45 lines
424 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
.pnpm-store/
|
|
|
|
# Build output
|
|
dist/
|
|
build/
|
|
.next/
|
|
out/
|
|
.turbo/
|
|
|
|
# Test / coverage
|
|
coverage/
|
|
.nyc_output/
|
|
|
|
# Env files (NEVER commit)
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Editor
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# TypeScript
|
|
*.tsbuildinfo
|
|
|
|
# Misc
|
|
.cache/
|
|
|
|
# Claude Code per-user settings
|
|
.claude/settings.local.json
|