-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
62 lines (51 loc) · 1.98 KB
/
env.example
File metadata and controls
62 lines (51 loc) · 1.98 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
# StudySync Environment Variables
# Copy this file to .env.local and fill in your values
# ===========================================
# DATABASE
# ===========================================
DATABASE_URL="postgresql://username:password@localhost:5432/studysync"
# ===========================================
# NEXT.JS & AUTHENTICATION
# ===========================================
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-super-secret-key-here"
# ===========================================
# GOOGLE OAUTH
# ===========================================
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
# ===========================================
# AI SERVICES
# ===========================================
# Cohere AI (Primary AI service)
COHERE_API_KEY="your-cohere-api-key"
# OpenAI (Backup AI service)
OPENAI_API_KEY="your-openai-api-key"
# Hugging Face (Fallback AI service)
HUGGINGFACE_API_KEY="your-huggingface-api-key"
# ===========================================
# STRIPE PAYMENTS
# ===========================================
STRIPE_SECRET_KEY="sk_test_your-stripe-secret-key"
STRIPE_PUBLISHABLE_KEY="pk_test_your-stripe-publishable-key"
STRIPE_WEBHOOK_SECRET="whsec_your-stripe-webhook-secret"
# ===========================================
# EMAIL SERVICES
# ===========================================
# SendGrid for email invitations
SENDGRID_API_KEY="your-sendgrid-api-key"
FROM_EMAIL="noreply@studysync.app"
# ===========================================
# SOCKET.IO (Optional - for real-time features)
# ===========================================
SOCKET_IO_URL="http://localhost:3001"
# ===========================================
# DEVELOPMENT
# ===========================================
NODE_ENV="development"
NEXT_TELEMETRY_DISABLED="1"
# ===========================================
# PRODUCTION (Set these for production)
# ===========================================
# NEXTAUTH_URL="https://yourdomain.com"
# NODE_ENV="production"