-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
42 lines (34 loc) · 2.9 KB
/
.env.local.example
File metadata and controls
42 lines (34 loc) · 2.9 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
# ═══════════════════════════════════════════════════════════════
# Supabase (REQUIRED)
# Get these from: https://supabase.com/dashboard → your project → Settings → API
# ═══════════════════════════════════════════════════════════════
NEXT_PUBLIC_SUPABASE_URL=your-project-url
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-publishable-or-anon-key
# ═══════════════════════════════════════════════════════════════
# Database (REQUIRED for Drizzle ORM)
# Get from: Supabase dashboard → click "Connect" → ORM tab → Drizzle
# IMPORTANT: Change the port from 6543 to 5432 — port 6543 (Transaction Pooler) breaks db:push
# ═══════════════════════════════════════════════════════════════
DATABASE_URL=postgres://postgres.xxxx:[YOUR-PASSWORD]@aws-0-us-east-1.pooler.supabase.com:5432/postgres
# ═══════════════════════════════════════════════════════════════
# AI Features (OPTIONAL — add these when you need them)
# ═══════════════════════════════════════════════════════════════
# Replicate — image/video generation
# Get from: https://replicate.com/account/api-tokens
# REPLICATE_API_TOKEN=your-replicate-api-token
# OpenAI — text generation, chat (if using Vercel AI SDK with OpenAI)
# Get from: https://platform.openai.com/api-keys
# OPENAI_API_KEY=your-openai-api-key
# Anthropic — text generation, chat (if using Vercel AI SDK with Anthropic)
# Get from: https://console.anthropic.com/settings/keys
# ANTHROPIC_API_KEY=your-anthropic-api-key
# ═══════════════════════════════════════════════════════════════
# Payments & Email (OPTIONAL — add these when you need them)
# ═══════════════════════════════════════════════════════════════
# Stripe — payments, subscriptions
# Get from: https://dashboard.stripe.com/apikeys
# STRIPE_SECRET_KEY=your-stripe-secret-key
# NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your-stripe-publishable-key
# Resend — transactional email
# Get from: https://resend.com/api-keys
# RESEND_API_KEY=your-resend-api-key