-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (55 loc) · 2.49 KB
/
.env.example
File metadata and controls
67 lines (55 loc) · 2.49 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
64
65
66
67
# ============================================
# 🔥 FIREBASE CONFIGURATION (100% FREE - NO BILLING REQUIRED!)
# ============================================
# Get these from: https://console.firebase.google.com
# Project Settings > Service Accounts > Generate New Private Key
FIREBASE_PROJECT_ID="your-firebase-project-id"
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY\n-----END PRIVATE KEY-----\n"
FIREBASE_CLIENT_EMAIL="firebase-adminsdk@your-project.iam.gserviceaccount.com"
# Note: Firestore doesn't need a database URL (only Realtime Database uses it)
# ============================================
# 🤖 GOOGLE GEMINI API (100% FREE - NO BILLING!)
# ============================================
# Get API key from: https://aistudio.google.com/app/apikey
# 15 requests/minute - Completely FREE, no credit card needed
GOOGLE_GEMINI_API_KEY="your-gemini-api-key"
# ============================================
# 🗺️ MAP CONFIGURATION (100% FREE - OpenStreetMap)
# ============================================
# Using Leaflet.js with OpenStreetMap tiles - No API key needed!
# Tile server: https://tile.openstreetmap.org/{z}/{x}/{y}.png
# ============================================
# 🖥️ APPLICATION CONFIGURATION
# ============================================
NODE_ENV="development"
PORT="3001"
API_BASE_URL="http://localhost:3001"
# ============================================
# 🌐 FRONTEND CONFIGURATION (Next.js)
# ============================================
NEXT_PUBLIC_API_BASE_URL="http://localhost:3001"
# Firebase Web SDK Config (from Firebase Console > Project Settings > General)
NEXT_PUBLIC_FIREBASE_API_KEY="your-firebase-web-api-key"
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN="your-project.firebaseapp.com"
NEXT_PUBLIC_FIREBASE_PROJECT_ID="your-firebase-project-id"
NEXT_PUBLIC_FIREBASE_APP_ID="your-firebase-app-id"
# ============================================
# 🔒 SECURITY & PERFORMANCE
# ============================================
ALLOWED_ORIGINS="http://localhost:3000,http://localhost:3001"
# Rate Limiting
RATE_LIMIT_WINDOW_MS="900000"
RATE_LIMIT_MAX_REQUESTS="100"
# Logging
LOG_LEVEL="debug"
LOG_FORMAT="json"
# ============================================
# 🎯 FEATURE FLAGS
# ============================================
ENABLE_AI_INSIGHTS="true"
ENABLE_PREDICTIVE_SCORING="true"
ENABLE_NOTIFICATIONS="false"
# ============================================
# 📊 ANALYTICS (Firebase Analytics - FREE!)
# ============================================
ENABLE_ANALYTICS="true"