-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (17 loc) · 1.01 KB
/
Copy path.env.example
File metadata and controls
22 lines (17 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
# Server
PORT=3000
NODE_ENV=development
# Supabase (JS client — get from Supabase dashboard → Project Settings → API)
SUPABASE_URL=https://your-project-ref.supabase.co
SUPABASE_SERVICE_KEY=your-service-role-key
# Supabase (PostgreSQL connection string for session store)
# Found at: Project Settings → Database → Connection string → Transaction mode (port 6543)
DATABASE_URL=postgresql://postgres.your-ref:your-password@aws-0-region.pooler.supabase.com:6543/postgres
# Supabase TEST project (used by Jest integration tests)
TEST_SUPABASE_URL=https://your-test-project-ref.supabase.co
TEST_SUPABASE_SERVICE_KEY=your-test-service-role-key
TEST_DATABASE_URL=postgresql://postgres.your-test-ref:your-password@aws-0-region.pooler.supabase.com:6543/postgres
# Session (generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
SESSION_SECRET=your-secret-here
# Sentry (get DSN from sentry.io → Project → Settings → Client Keys)
SENTRY_DSN=https://your-key@oXXXXXX.ingest.sentry.io/XXXXXXX