# ==============================================
# LLMHosts.com Frontend -- Environment Variables
# ==============================================
# USAGE: cp .env.example .env.local && edit .env.local
# WARNING: .env.local is gitignored. NEVER commit secrets.

# ---- Database (SQLite for dev, PostgreSQL for production) ----
DATABASE_URL="file:./prisma/dev.db"

# ---- Auth.js (NextAuth v5) ----
NEXTAUTH_URL="http://localhost:3000"
# Generate with: openssl rand -base64 32
NEXTAUTH_SECRET="dev-secret-change-in-production"

# ---- Stripe (optional -- billing works without it, buttons just 503) ----
# STRIPE_SECRET_KEY="sk_test_..."
# NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_..."
# STRIPE_WEBHOOK_SECRET="whsec_..."
# STRIPE_CONNECT_WEBHOOK_SECRET="whsec_..."  # optional; for Connect account.updated (separate endpoint in Dashboard)
# STRIPE_PRO_PRICE_ID="price_..."
# STRIPE_TEAM_PRICE_ID="price_..."
# STRIPE_ENTERPRISE_PRICE_ID="price_..."

# ---- Resend (optional -- contact form works without it, just logs to stdout) ----
# RESEND_API_KEY="re_your_api_key_here"

# ---- App ----
NEXT_PUBLIC_APP_URL="http://localhost:3000"
NEXT_PUBLIC_API_URL="http://localhost:4000"
