-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (38 loc) · 1.92 KB
/
.env.example
File metadata and controls
50 lines (38 loc) · 1.92 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
# App URL (Dynamic for different environments)
NEXT_PUBLIC_APP_URL=https://mentorshape.vercel.app
# Database URLs
DATABASE_URL="postgresql://postgres.xxx:password@xxx.pooler.supabase.com:6543/postgres?pgbouncer=true"
DIRECT_URL="postgresql://postgres.xxx:password@xxx.pooler.supabase.com:5432/postgres"
# Supabase (Required for authentication)
NEXT_PUBLIC_SUPABASE_URL=https://xxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key_here
# OAuth Callbacks (will use NEXT_PUBLIC_APP_URL + /auth/callback)
NEXT_PUBLIC_GOOGLE_CALLBACK_URL=https://your-domain.com/auth/v1/callback
NEXT_PUBLIC_LINKEDIN_CALLBACK_URL=https://your-domain.com/auth/v1/callback
# OpenAI (for AI features)
NEXT_PUBLIC_OPENAI_API_KEY=sk-proj-your_openai_key_here
# Google Maps (for location features)
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_google_maps_key_here
# Tiptap (for collaborative editing)
NEXT_PUBLIC_TIPTAP_COLLAB_DOC_PREFIX=mentorshape-goal-
NEXT_PUBLIC_TIPTAP_COLLAB_APP_ID=your_tiptap_app_id
NEXT_PUBLIC_TIPTAP_COLLAB_TOKEN=your_tiptap_token
NEXT_PUBLIC_TIPTAP_AI_APP_ID=your_tiptap_ai_app_id
NEXT_PUBLIC_TIPTAP_AI_TOKEN=your_tiptap_ai_token
# Tiptap Server-side Secrets
TIPTAP_COLLAB_SECRET=your_tiptap_collab_secret
TIPTAP_AI_SECRET=your_tiptap_ai_secret
TIPTAP_SECRET_KEY=your_tiptap_secret_key
# Stripe (for billing)
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_your_stripe_publishable_key
STRIPE_SECRET_KEY=sk_live_your_stripe_secret_key
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
# Replicate (for AI features)
NEXT_PUBLIC_REPLICATE_API_TOKEN=r8_your_replicate_token
# Resend (for email notifications)
NEXT_PUBLIC_RESEND_API_KEY=re_your_resend_api_key
# Supabase Service Role (for admin operations)
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# Admin Authentication (for platform administration)
ADMIN_MASTER_TOKEN=your_64_character_master_admin_token_here_very_secure
ADMIN_BACKUP_TOKEN=your_64_character_backup_admin_token_here_very_secure