feat(WHE-27): add drizzle db package and typed env config

This commit is contained in:
2026-03-05 03:05:02 +04:00
parent 18168a8dab
commit 8086044938
21 changed files with 631 additions and 28 deletions

30
.env.example Normal file
View File

@@ -0,0 +1,30 @@
# Core
NODE_ENV=development
LOG_LEVEL=info
APP_URL=http://localhost:3000
# Database / Supabase
DATABASE_URL=postgres://postgres:postgres@127.0.0.1:54322/postgres
SUPABASE_URL=https://your-project-ref.supabase.co
SUPABASE_PUBLISHABLE_KEY=your-supabase-publishable-key
SUPABASE_SERVICE_ROLE_KEY=your-supabase-service-role-key
# Telegram
TELEGRAM_BOT_TOKEN=your-telegram-bot-token
TELEGRAM_WEBHOOK_SECRET=your-webhook-secret
TELEGRAM_BOT_USERNAME=your_bot_username
# Parsing / AI
OPENAI_API_KEY=your-openai-api-key
PARSER_MODEL=gpt-4.1-mini
# Monitoring
SENTRY_DSN=
# GCP
GCP_PROJECT_ID=your-gcp-project-id
GCP_REGION=europe-west1
CLOUD_RUN_SERVICE_BOT=household-bot
# Scheduler
SCHEDULER_SHARED_SECRET=your-scheduler-shared-secret