-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
86 lines (65 loc) · 3.29 KB
/
.env.example
File metadata and controls
86 lines (65 loc) · 3.29 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Firebase Configuration
# Get these values from Firebase Console > Project Settings > General
# Copy this file to .env and fill in your actual values
VITE_FIREBASE_API_KEY=your-api-key-here
VITE_FIREBASE_AUTH_DOMAIN=your-project-id.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your-project-id
VITE_FIREBASE_STORAGE_BUCKET=your-project-id.firebasestorage.app
VITE_FIREBASE_MESSAGING_SENDER_ID=your-sender-id
VITE_FIREBASE_APP_ID=your-app-id
# App URL Configuration
# Production URLs for your deployed app
VITE_APP_URL=https://your-project-id-app.web.app
VITE_LANDING_URL=https://your-project-id.web.app
# Firebase Cloud Messaging (Push Notifications)
# Generate VAPID key in Firebase Console > Project Settings > Cloud Messaging > Web Push certificates
# Click "Generate key pair" if you don't have one yet
VITE_FIREBASE_VAPID_KEY=YOUR_VAPID_KEY_HERE
# Stripe Configuration
# Get these from Stripe Dashboard > Products
# Each product should have TWO prices: one monthly and one yearly
# Format: prod_xxxxxxxxxxxxx (starts with "prod_")
# Basic Plan (10 GB) - $5/month or $50/year
VITE_STRIPE_PRODUCT_BASIC=prod_xxxxx_basic
# Personal Plan (100 GB) - $12/month or $120/year
VITE_STRIPE_PRODUCT_PERSONAL=prod_xxxxx_personal
# Professional Plan (1 TB) - $49/month or $490/year
VITE_STRIPE_PRODUCT_PROFESSIONAL=prod_xxxxx_professional
# Stripe Publishable Key (safe to use in client-side code)
# Get from: Stripe Dashboard > Developers > API keys
# Use test key (pk_test_...) for development, live key (pk_live_...) for production
VITE_STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key_here
# Plan Storage Limits (in GB)
# Define storage allocation for each subscription tier
# These values determine storage quotas displayed to users and used for enforcement
# Free tier for users without a subscription
VITE_PLAN_STORAGE_FREE_GB=0.1
# Basic Plan storage limit
VITE_PLAN_STORAGE_BASIC_GB=10
# Personal Plan storage limit
VITE_PLAN_STORAGE_PERSONAL_GB=100
# Professional Plan storage limit (1024 GB = 1 TB)
VITE_PLAN_STORAGE_PROFESSIONAL_GB=1024
# Firebase Cloud Functions Base URL
# Used for cloud functions like support email, notifications, etc.
# Format: https://REGION-PROJECT_ID.cloudfunctions.net
VITE_FUNCTIONS_BASE_URL=https://us-central1-your-project-id.cloudfunctions.net
# Firebase Region (Optional - defaults to us-central1 if not specified)
# The region where your Firebase Functions are deployed
# VITE_FIREBASE_REGION=us-central1
# Cache Configuration (Optional - uses defaults if not specified)
# Uncomment and adjust these if you need to customize cache behavior
# In-memory cache limit in MB (default: 50)
# VITE_CACHE_MEMORY_LIMIT_MB=50
# Offline cache limit in MB (default: 500)
# VITE_CACHE_OFFLINE_LIMIT_MB=500
# Cache cleanup threshold (0.0-1.0, default: 0.2 = 20%)
# VITE_CACHE_CLEANUP_THRESHOLD=0.2
# Storage usage cache timeout in milliseconds (default: 300000 = 5 minutes)
# VITE_STORAGE_CACHE_TIMEOUT_MS=300000
# Instructions:
# 1. Copy this file: cp .env.example .env
# 2. Get your Firebase config from: https://console.firebase.google.com/project/YOUR_PROJECT/settings/general
# 3. Generate VAPID key from: https://console.firebase.google.com/project/YOUR_PROJECT/settings/cloudmessaging
# 4. Replace all placeholder values with your actual Firebase project values
# 5. Never commit the .env file - it's gitignored for security