-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
94 lines (78 loc) · 3.88 KB
/
env.example
File metadata and controls
94 lines (78 loc) · 3.88 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
87
88
89
90
91
92
93
94
# =================================================================
# TESTME - ENVIRONMENT CONFIGURATION TEMPLATE
# =================================================================
# Copy this file to .env.local and fill in your actual values
# Never commit your .env.local file to version control!
# =================================================================
# APPLICATION CONFIGURATION (Required)
# =================================================================
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret_here_generate_with_openssl_rand_base64_32
# =================================================================
# AUTHENTICATION (Required for Google OAuth)
# =================================================================
# Get these from Google Cloud Console
# https://console.cloud.google.com/
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
# =================================================================
# DATABASE (Required)
# =================================================================
# Local MongoDB
MONGODB_URI=mongodb://localhost:27017/testme
# OR MongoDB Atlas (Cloud - Recommended for production)
# MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/testme
# =================================================================
# EXTERNAL APIs (Required)
# =================================================================
# YouTube Data API v3 Key
# Get from Google Cloud Console - enable YouTube Data API v3
YOUTUBE_API_KEY=your_youtube_api_key_here
# =================================================================
# AI PROVIDER CONFIGURATION
# Choose ONE provider and configure its API key
# =================================================================
# Set your preferred AI provider (openai, claude, deepseek, bedrock)
DEFAULT_AI_PROVIDER=openai
# Option 1: OpenAI (Recommended - Fast, reliable, good quality)
# Get API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-your_openai_api_key_here
# Option 2: Anthropic Claude (Best for detailed explanations)
# Get API key from: https://console.anthropic.com/
# CLAUDE_API_KEY=sk-ant-your_claude_api_key_here
# Option 3: DeepSeek (Most cost-effective)
# Get API key from: https://platform.deepseek.com/
# DEEPSEEK_API_KEY=sk-your_deepseek_api_key_here
# Option 4: AWS Bedrock (Enterprise-grade)
# Requires AWS account with Bedrock access
# Uses inference profile: us.anthropic.claude-3-7-sonnet-20250219-v1:0
# Supported regions: us-east-1, us-east-2, us-west-2
# AWS_ACCESS_KEY_ID=your_aws_access_key_id
# AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
# AWS_REGION=us-east-1
# =================================================================
# DEVELOPMENT & TESTING (Optional)
# =================================================================
# Set to 'true' to use mock AI service (no API costs, for testing only)
USE_MOCK_AI=false
# Environment (development, staging, production)
NODE_ENV=development
# =================================================================
# SETUP CHECKLIST
# =================================================================
# □ 1. Copy this file to .env.local
# □ 2. Generate NEXTAUTH_SECRET: openssl rand -base64 32
# □ 3. Setup Google OAuth in Google Cloud Console
# □ 4. Setup MongoDB (local or Atlas)
# □ 5. Get YouTube API key from Google Cloud Console
# □ 6. Choose and configure ONE AI provider
# □ 7. Start development: npm run dev
# =================================================================
# QUICK LINKS
# =================================================================
# Google Cloud Console: https://console.cloud.google.com/
# MongoDB Atlas: https://www.mongodb.com/atlas
# OpenAI API Keys: https://platform.openai.com/api-keys
# Anthropic Console: https://console.anthropic.com/
# DeepSeek Platform: https://platform.deepseek.com/
# AWS Bedrock: https://aws.amazon.com/bedrock/