-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy path.env.example
More file actions
36 lines (27 loc) · 1.01 KB
/
.env.example
File metadata and controls
36 lines (27 loc) · 1.01 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
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key_here
CLERK_SECRET_KEY=your_clerk_secret_key_here
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url_here
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key_here
# OpenAI API (for Vercel AI SDK)
OPENAI_API_KEY=your_openai_api_key_here
# Anthropic API (optional, for Claude models)
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/codeguide_db
# Redis (for session caching and rate limiting)
REDIS_URL=redis://localhost:6379
# AWS S3 Configuration
AWS_ACCESS_KEY_ID=your_aws_access_key_id
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
AWS_REGION=us-east-1
AWS_S3_BUCKET_NAME=your-s3-bucket-name
# JWT Secret (generate a secure random string)
JWT_SECRET=your_jwt_secret_here_make_it_long_and_random
# Next.js Configuration
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret_here
# Rate Limiting
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW_MS=900000