-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.vercel.example
More file actions
63 lines (54 loc) · 2.46 KB
/
.env.vercel.example
File metadata and controls
63 lines (54 loc) · 2.46 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# CodeEx AI - Vercel Environment Variables Template
# Copy these to Vercel Dashboard → Project Settings → Environment Variables
# ============================================
# REQUIRED - Groq API (Primary AI Provider)
# ============================================
# Get your key from: https://console.groq.com/
GROQ_API_KEY=gsk_your_groq_api_key_here
# ============================================
# REQUIRED - Firebase Configuration
# ============================================
# Get these from Firebase Console → Project Settings → General
NEXT_PUBLIC_FIREBASE_API_KEY=AIza_your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=123456789
NEXT_PUBLIC_FIREBASE_APP_ID=1:123456789:web:abc123
# ============================================
# REQUIRED - App Configuration
# ============================================
# Update this with your actual Vercel deployment URL
NEXT_PUBLIC_APP_URL=https://your-app.vercel.app
# ============================================
# OPTIONAL - Fallback AI Providers
# ============================================
# Cerebras (Fast inference)
# Get key from: https://cloud.cerebras.ai/
CEREBRAS_API_KEY=csk_your_cerebras_key_here
# Google AI (Gemini models)
# Get key from: https://aistudio.google.com/
GOOGLE_API_KEY=AIza_your_google_ai_key_here
# HuggingFace (Open source models)
# Get key from: https://huggingface.co/settings/tokens
HUGGINGFACE_API_KEY=hf_your_huggingface_key_here
# ============================================
# OPTIONAL - TTS Fallback (ElevenLabs)
# ============================================
# Get key from: https://elevenlabs.io/
NEXT_PUBLIC_ELEVENLABS_API_KEY=your_elevenlabs_key_here
# ============================================
# OPTIONAL - Email Service (EmailJS)
# ============================================
# Get credentials from: https://www.emailjs.com/
NEXT_PUBLIC_EMAILJS_SERVICE_ID=your_service_id
NEXT_PUBLIC_EMAILJS_TEMPLATE_ID=your_template_id
NEXT_PUBLIC_EMAILJS_PUBLIC_KEY=your_public_key
# ============================================
# NOTES
# ============================================
# 1. NEXT_PUBLIC_* variables are exposed to the browser
# 2. Variables without NEXT_PUBLIC_ are server-side only
# 3. Never commit actual API keys to git
# 4. Set these in Vercel Dashboard, not in code
# 5. Redeploy after changing environment variables