-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (23 loc) · 1017 Bytes
/
.env.example
File metadata and controls
31 lines (23 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Database Configuration
# For PostgreSQL with Neon (serverless)
DATABASE_URL=postgresql://user:password@host.neon.tech/database?sslmode=require
# For other PostgreSQL databases
# DATABASE_URL=postgresql://user:password@localhost:5432/database
# Session Configuration
SESSION_SECRET=your_very_long_random_secret_key_change_this_in_production
# Optional: Google OAuth (for authentication)
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# Optional: Apple OAuth (for authentication)
APPLE_CLIENT_ID=your_apple_client_id
APPLE_TEAM_ID=your_apple_team_id
APPLE_KEY_ID=your_apple_key_id
APPLE_PRIVATE_KEY=your_apple_private_key
# Application Environment
NODE_ENV=production
# Optional: Cloudflare D1 Database ID (if using Cloudflare)
# D1_DATABASE_ID=your_d1_database_id
# Optional: Cloudflare KV Namespace ID (if using Cloudflare)
# KV_NAMESPACE_ID=your_kv_namespace_id
# Server Configuration
# PORT=3000 # Not needed for serverless, but can be useful for local development