-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (44 loc) · 2.25 KB
/
Copy path.env.example
File metadata and controls
53 lines (44 loc) · 2.25 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
## Firebase Web SDK configuration (from Firebase console > Project settings)
# These values are safe to expose in client-side code (public API keys)
# Base these values on your project's Firebase Web App settings
VITE_FIREBASE_PROJECT_ID=thesisflow-letran
VITE_FIREBASE_API_KEY=Your-API-Key-Here
# Optional values (may be omitted if not used)
# VITE_FIREBASE_AUTH_DOMAIN=your-domain.firebaseapp.com
# VITE_FIREBASE_STORAGE_BUCKET=your-storage-bucket.firebasestorage.app
VITE_FIREBASE_MESSAGE_SENDER_ID=Your-Messaging-Sender-ID
VITE_FIREBASE_APP_ID=Your-App-Id
VITE_FIREBASE_MEASUREMENT_ID=Your-Measurement-Id
## Local dev feature flags (set to true for convenience in dev)
VITE_DEV_UTILS_ENABLED=true
VITE_DEV_HELPER_ENABLED=true
VITE_DEV_HELPER_USERNAME=Jed
VITE_DEV_HELPER_DOMAIN=thesisflow.dev
VITE_DEV_HELPER_PASSWORD=your-dev-helper-password
## Defaults used by dev helpers (do not use in production)
VITE_DEFAULT_USER_PASSWORD=Password_123
## Admin API server URL (set to local server for development or production URL)
VITE_ADMIN_API_URL=https://thesisflow.vercel.app/api
## Admin API Secret (for dev-helper auth when not signed in with Firebase)
# IMPORTANT: This secret must match the ADMIN_API_SECRET in server/.env
# Use a strong random string for production
VITE_ADMIN_API_SECRET=your-super-secret-api-key-here
## Mailer (SMTP) configuration
# Configure an SMTP account to send emails (sensitive - do not commit real credentials)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-email@example.com
SMTP_PASS=your-smtp-password
## Firebase Admin SDK configuration (sensitive - server-side only)
# Get these from Firebase Console > Project Settings > Service Accounts > Generate new private key
FIREBASE_CLIENT_EMAIL=your-service-account@your-project.iam.gserviceaccount.com
# For multiline private key, include the key with escaped newlines and wrap in quotes
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY_HERE\n-----END PRIVATE KEY-----\n"
## Server configuration
# Use 'production' on the deployed server, 'development' locally
NODE_ENV=development
# CORS Configuration (comma-separated allowed origins)
# ALLOWED_ORIGINS=http://localhost:5173,https://thesisflow.vercel.app
## Optional: enable verbose logging in dev
# VITE_LOG_LEVEL=debug