36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
# App Configuration
|
|
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
|
|
# Better Auth
|
|
BETTER_AUTH_SECRET=your_secret_key_here
|
|
BETTER_AUTH_URL=http://localhost:3000
|
|
|
|
# Database - Prisma Accelerate (optimized for Prisma ORM)
|
|
DATABASE_URL="prisma+postgres://accelerate.prisma-data.net/?api_key=your_api_key_here"
|
|
|
|
# Direct Database Connection (for migrations and Prisma Studio)
|
|
DIRECT_URL="postgresql://user:password@host:5432/database?sslmode=require"
|
|
|
|
# Resend API Key (for email sending)
|
|
# Get from: https://resend.com/api-keys
|
|
RESEND_API_KEY=your_resend_api_key_here
|
|
|
|
# Google OAuth Configuration
|
|
# Get these from: https://console.cloud.google.com/apis/dashboard
|
|
GOOGLE_CLIENT_ID=your_google_client_id_here
|
|
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
|
|
|
|
# For local development, set redirect URI to:
|
|
# http://localhost:3000/api/auth/callback/google
|
|
|
|
# For production, set redirect URI to:
|
|
# https://yourdomain.com/api/auth/callback/google
|
|
|
|
# Stripe Configuration
|
|
# Get these from: https://dashboard.stripe.com/apikeys
|
|
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key_here
|
|
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret_here
|
|
|
|
# Stripe Publishable Key (for client-side usage)
|
|
NEXT_STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key_here
|