-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
21 lines (16 loc) · 832 Bytes
/
Copy path.env.example
File metadata and controls
21 lines (16 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Database Connection Strings
# For local PostgreSQL development:
# DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_news_aggregator"
# For Neon PostgreSQL (Production):
# Pooled connection for serverless queries (used by Prisma Client)
DATABASE_URL="postgresql://user:password@host-pooler.region.neon.tech/dbname?sslmode=require"
# Direct connection for migrations (remove "-pooler" from hostname)
DIRECT_URL="postgresql://user:password@host.region.neon.tech/dbname?sslmode=require"
# Cron Secret
# Used to authenticate automated article fetching
# Generate a secure random string: openssl rand -hex 32
CRON_SECRET=your-secure-random-string-here
# Node Environment
NODE_ENV=development
# Note: OpenAI API key is NOT required in environment variables
# Users provide their own API keys through the application UI