-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy path.env.example
More file actions
80 lines (69 loc) · 4.09 KB
/
.env.example
File metadata and controls
80 lines (69 loc) · 4.09 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
# =============================================================================
# AI Studio - Environment Variables
# =============================================================================
# Copy this file to .env.local and fill in your values
# Never commit .env.local to version control
# =============================================================================
# -----------------------------------------------------------------------------
# Database (Supabase)
# -----------------------------------------------------------------------------
# Get your connection string from: Supabase Dashboard → Settings → Database → Connection string
# Use the "Transaction" pooler connection string for serverless environments
# Format: postgresql://postgres.[project-ref]:[password]@[host]:6543/postgres
DATABASE_URL=postgresql://postgres.xxxx:password@aws-0-region.pooler.supabase.com:6543/postgres
# -----------------------------------------------------------------------------
# Supabase Storage & Auth
# -----------------------------------------------------------------------------
# Get these from: Supabase Dashboard → Settings → API
# Project URL: The URL of your Supabase project
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
# Secret Key: Used for server-side operations (keep this private!)
# Found under "Project API keys" → "service_role" (secret)
SUPABASE_SECRET_KEY=sb_secret_your_supabase_secret_key_here
# -----------------------------------------------------------------------------
# Authentication (Better Auth)
# -----------------------------------------------------------------------------
# Secret: Generate a random 32+ character string for signing tokens
# You can generate one with: openssl rand -base64 32
BETTER_AUTH_SECRET=your_secret_key_here_min_32_characters
# URL: The base URL where your app runs (no trailing slash)
BETTER_AUTH_URL=http://localhost:3000
# -----------------------------------------------------------------------------
# App Configuration
# -----------------------------------------------------------------------------
# Public URL of your application (used for redirects, emails, etc.)
NEXT_PUBLIC_APP_URL=http://localhost:3000
# -----------------------------------------------------------------------------
# AI Services (Fal.ai)
# -----------------------------------------------------------------------------
# Get your API key from: https://fal.ai/dashboard/keys
# Used for AI-powered image generation and editing
# Pricing: ~$0.039 per image edit
FAL_API_KEY=your_fal_api_key_here
# -----------------------------------------------------------------------------
# AI Services (xAI / Grok) - Optional
# -----------------------------------------------------------------------------
# Get your API key from: https://console.x.ai/
# Alternative AI provider for image editing and video generation
# Note: xAI does not support mask-based inpainting, only prompt-based editing
XAI_API_KEY=your_xai_api_key_here
# -----------------------------------------------------------------------------
# Email (Resend)
# -----------------------------------------------------------------------------
# Get your API key from: https://resend.com/api-keys
# Used for sending transactional emails (invitations, notifications)
RESEND_API_KEY=re_your_resend_api_key_here
# -----------------------------------------------------------------------------
# Background Jobs (Trigger.dev)
# -----------------------------------------------------------------------------
# Get these from: https://cloud.trigger.dev → Your Project → Settings
# Used for AI image generation tasks and background processing
TRIGGER_SECRET_KEY=tr_dev_your_trigger_secret_key
# -----------------------------------------------------------------------------
# Accounting Integration (Fiken) - Optional
# -----------------------------------------------------------------------------
# Fiken is a Norwegian cloud-based accounting system (regnskapssystem)
# Get your API key from: https://fiken.no/innstillinger/api
# Used for invoicing and financial reporting in Norway
# FIKEN_API_KEY=your_fiken_api_key_here
# FIKEN_COMPANY_SLUG=your-company-slug