Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
29 lines (24 loc) · 1.44 KB
/
Copy path.env.example
File metadata and controls
29 lines (24 loc) · 1.44 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
# PACT OS — Environment Configuration Template
# DO NOT ADD ACTUAL SECRETS TO THIS FILE.
# Copy this file to .env.local for local development.
# =============================================================================
# 1. CORE APPLICATION (Public / Client Accessible)
# =============================================================================
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-supabase-publishable-key
# =============================================================================
# 2. CORE SERVER-ONLY SECRETS (NEVER expose to client)
# =============================================================================
# Supabase Service Role Key (Used for autonomous background cron sweeps)
SUPABASE_SERVICE_ROLE_KEY=your-supabase-service-role-key
# Cron Endpoint Secret (Timing-safe Bearer token authorization for /api/cron/sweep-deadlines)
CRON_SECRET=your-random-32-char-cron-secret
# =============================================================================
# 3. OPTIONAL INTEGRATIONS (Server-Only)
# =============================================================================
# Google Calendar Integration (OAuth 2.0 Client Credentials)
GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-google-client-secret
# Email Notification Delivery (Resend API Key)
RESEND_API_KEY=re_your_resend_api_key