-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
50 lines (39 loc) · 2 KB
/
Copy pathenv.example
File metadata and controls
50 lines (39 loc) · 2 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
# Environment Variables Example
# Copy this file to .env.local and fill in your actual values
# ============================================
# SUPABASE CONFIGURATION
# ============================================
# Required when you add authentication or database features
# Get these from: https://supabase.com/dashboard -> Your Project -> Settings -> API
EXPO_PUBLIC_SUPABASE_URL=
EXPO_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
# ============================================
# DATABASE CONFIGURATION
# ============================================
# Required when using API routes with database operations
# Format: postgresql://postgres:[password]@db.[project-ref].supabase.co:5432/postgres
# Get the connection string from Supabase Dashboard -> Settings -> Database
DATABASE_URL=postgresql://postgres:[PASSWORD]@db.your-supabase-project.supabase.co:5432/postgres
# ============================================
# OPTIONAL CONFIGURATIONS
# ============================================
# JWT Secret (Only needed for custom JWT implementation - not needed if using Supabase Auth)
JWT_SECRET=your-super-secret-jwt-key-at-least-32-characters-long
# Google OAuth (Only needed if using additional Google API scopes beyond basic auth)
GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-google-client-secret
# Asset API Keys (Optional - for stock images and icons)
# Get your free API key from: https://unsplash.com/developers
EXPO_PUBLIC_UNSPLASH_ACCESS_KEY=your_unsplash_access_key
# Get your free API key from: https://www.pexels.com/api/
EXPO_PUBLIC_PEXELS_API_KEY=your_pexels_api_key
# Environment (automatically set by Expo, but can override)
NODE_ENV=development
# ============================================
# SETUP INSTRUCTIONS
# ============================================
# 1. Copy this file: cp env.example .env.local
# 2. Fill in your actual Supabase values
# 3. Never commit .env.local to git (it's in .gitignore)
# 4. For production, set these in your hosting platform