-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (47 loc) · 2.7 KB
/
.env.example
File metadata and controls
59 lines (47 loc) · 2.7 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
# ============================================
# REQUIRED CONFIGURATION (Must-Have)
# ============================================
# Database - IMPORTANT: Must use Neon PostgreSQL (not local PostgreSQL)
# This project uses @neondatabase/serverless which requires WebSocket support
# Get your connection string from: https://console.neon.tech
DATABASE_URL="postgresql://username:password@ep-xxxxx.region.aws.neon.tech/dbname?sslmode=require"
# Session Management - Generate a random string for session security
SESSION_SECRET="your-session-secret-here"
# Firebase Configuration (for authentication and storage)
# Get these values from Firebase Console -> Project Settings -> General -> Your apps -> Web app
# If you don't have a web app, click "Add app" and select Web
# Server-side Firebase Admin SDK (choose ONE of the following two options):
# Option 1: Path to your Firebase Admin SDK JSON file (recommended for local development)
GOOGLE_APPLICATION_CREDENTIALS="path/to/firebase-admin-key.json"
# Option 2: Inline JSON string (alternative to file path, useful for deployment)
# FIREBASE_SERVICE_ACCOUNT_KEY='{"type":"service_account","project_id":"...","private_key_id":"...","private_key":"..."}'
# Client-side Firebase configuration (ALL required - get from Firebase Console)
VITE_FIREBASE_PROJECT_ID="your-project-id"
VITE_FIREBASE_API_KEY="AIzaSy..."
VITE_FIREBASE_AUTH_DOMAIN="your-project-id.firebaseapp.com"
VITE_FIREBASE_MESSAGING_SENDER_ID="123456789"
VITE_FIREBASE_APP_ID="1:123456789:web:abc123"
# Firebase Storage bucket (usually auto-generated from project ID)
FIREBASE_STORAGE_BUCKET="your-project-id.firebasestorage.app"
# ============================================
# OPTIONAL CONFIGURATION
# ============================================
# The app will run without these, but certain features will be disabled
# Stripe (for payments) - Optional: Only needed if using payment features
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
STRIPE_PRICE_ID_PRO="price_test_pro_subscription_id"
# SendGrid (for emails) - Optional: Only needed if sending emails
SENDGRID_API_KEY="SG...."
# PostHog (for analytics) - Optional: Analytics will be disabled if not provided
POSTHOG_API_KEY="phc_..."
POSTHOG_HOST="https://app.posthog.com"
# OpenAI ChatKit (for AI Agent feature) - Optional: Only needed if using AI Agent page
# Get your OpenAI API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY="sk-your-openai-api-key-here"
# Get your Workflow ID from: https://platform.openai.com/agent-builder
OPENAI_CHATKIT_WORKFLOW_ID="wf_your_workflow_id_here"
# Frontend/Deployment Configuration - Optional: Defaults to localhost in development
FRONTEND_URL="http://localhost:5000"
# Port to run the server on
PORT="5000"