-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
25 lines (20 loc) · 982 Bytes
/
Copy path.env.example
File metadata and controls
25 lines (20 loc) · 982 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
# Database Connection URL (Supabase/Neon PostgreSQL)
# Prisma 7.x reads this directly from process.env via prisma.config.ts
DATABASE_URL="postgresql://postgres:password@localhost:5432/code_translator?schema=public"
# Auth.js (NextAuth v5) Configuration
# Generate a secret via: npx auth secret
AUTH_SECRET="your-auth-secret-key-32-chars-long"
# Google OAuth Credentials
# Retrieve from Google Cloud Console (APIs & Services > Credentials)
AUTH_GOOGLE_ID="your-google-client-id.apps.googleusercontent.com"
AUTH_GOOGLE_SECRET="GOCSPX-your-google-client-secret"
# Next.js Public Site URL (Used for Redirects in Auth/Payments)
NEXTAUTH_URL="http://localhost:3000"
# Google Gemini API Key (For AI Translations)
# Retrieve from Google AI Studio
GEMINI_API_KEY="AIzaSyYourGeminiApiKey"
# Stripe Payments (Configured in Phase 5)
STRIPE_API_KEY="sk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_..."
NEXT_PUBLIC_STRIPE_PRO_PRICE_ID="price_..."