-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (38 loc) · 1.97 KB
/
Copy path.env.example
File metadata and controls
48 lines (38 loc) · 1.97 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
# SL Budget - Environment Variables
# Copy this file to .env.local and fill in your values
# ============ FIREBASE CLIENT CONFIG ============
# Get these from Firebase Console > Project Settings > General > Your apps
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=budget-buddy-1e3e8.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=budget-buddy-1e3e8
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=budget-buddy-1e3e8.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
# ============ DEFAULT USER (Development) ============
# Used when no authentication is implemented
NEXT_PUBLIC_DEFAULT_USER_ID=default_user
# ============ FIREBASE ADMIN (Server-side) ============
# Used for server-side operations (API routes)
# Get this from Firebase Console > Project Settings > Service accounts > Generate new private key
FIREBASE_ADMIN_PROJECT_ID=budget-buddy-1e3e8
FIREBASE_ADMIN_CLIENT_EMAIL=your_service_account_email
FIREBASE_ADMIN_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
# ============ AI SERVICES ============
# Google Gemini API Key
# Get from https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key
# Anthropic Claude API Key (optional fallback)
# Get from https://console.anthropic.com/
ANTHROPIC_API_KEY=your_claude_api_key
# ============ OPTIONAL SETTINGS ============
# Enable Firebase emulators for local development
NEXT_PUBLIC_USE_EMULATORS=false
# App URL (for callbacks, webhooks)
NEXT_PUBLIC_APP_URL=http://localhost:3000
# ============ EXISTING FIREBASE FUNCTIONS ============
# SMS Webhook endpoint (already deployed)
SMS_WEBHOOK_URL=https://us-central1-budget-buddy-1e3e8.cloudfunctions.net/smsWebhook
# Get Transactions endpoint (already deployed)
GET_TRANSACTIONS_URL=https://us-central1-budget-buddy-1e3e8.cloudfunctions.net/getTransactions
# Get Stats endpoint (already deployed)
GET_STATS_URL=https://us-central1-budget-buddy-1e3e8.cloudfunctions.net/getStats