# Application
NODE_ENV=development
PORT=9000
APP_NAME=Tractatus

# MongoDB
MONGODB_URI=mongodb://localhost:27017/tractatus_dev
MONGODB_PORT=27017
MONGODB_DB=tractatus_dev

# JWT Authentication
JWT_SECRET=generate_a_secure_random_secret_key_here
JWT_EXPIRY=7d

# Admin
ADMIN_EMAIL=john.stroh.nz@pm.me

# Claude API (Phase 2+)
# CLAUDE_API_KEY=your_anthropic_api_key_here
# CLAUDE_MODEL=claude-sonnet-4-5

# Logging
LOG_LEVEL=info
LOG_FILE=logs/app.log

# Feature Flags
ENABLE_AI_CURATION=false
ENABLE_MEDIA_TRIAGE=false
ENABLE_CASE_SUBMISSIONS=false

# Security
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100

# Koha Donation System (Phase 3)
# Stripe configuration (reuses passport-consolidated account)
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key_here
STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key_here
STRIPE_KOHA_WEBHOOK_SECRET=whsec_your_webhook_secret_here

# Stripe Price IDs (NZD products)
# Create these in Stripe Dashboard first
STRIPE_KOHA_5_PRICE_ID=price_koha_5_nzd_monthly
STRIPE_KOHA_15_PRICE_ID=price_koha_15_nzd_monthly
STRIPE_KOHA_50_PRICE_ID=price_koha_50_nzd_monthly
STRIPE_KOHA_ONETIME_PRICE_ID=price_koha_onetime

# Frontend URL for redirects
FRONTEND_URL=http://localhost:9000
