-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (40 loc) · 3.3 KB
/
Copy path.env.example
File metadata and controls
50 lines (40 loc) · 3.3 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
# ═══════════════════════════════════════════════════════════════════
# Morgan Auto — Environment Variables
# Copy this file to .env.local and fill in your values
# NEVER commit .env.local to GitHub!
# ═══════════════════════════════════════════════════════════════════
# ─── Supabase ───────────────────────────────────────────────────────
# From: Supabase Dashboard → Project Settings → API
NEXT_PUBLIC_SUPABASE_URL=https://xxxxxxxxxxxxxxxxxxxx.supabase.co
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
SUPABASE_SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... # Service role key — NEVER expose client-side!
# ─── Site URL ────────────────────────────────────────────────────────
# Production: https://morgan-auto.fr
# Local dev: http://localhost:3000
NEXT_PUBLIC_SITE_URL=https://morgan-auto.fr
# ─── Email Notifications (Resend.com) ───────────────────────────────
# From: https://resend.com/api-keys
# Free plan: 3,000 emails/month
RESEND_API_KEY=re_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Sender (must match a verified domain on Resend or use @resend.dev for testing)
EMAIL_FROM=Morgan Auto <noreply@morgan-auto.fr>
# Recipients for CRM notification emails
EMAIL_NOTIFY_PG=proprietaire@morgan-auto.fr # Propriétaire du garage (required)
EMAIL_NOTIFY_MANAGER=manager@morgan-auto.fr # Manager (optional, comma-separated for multiple)
# ─── AI / OpenAI ────────────────────────────────────────────────────
# From: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-proj-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# ─── Loan Calculator API (optional — uses mock data if not set) ──────
# Connect your real bank API here when available
# NEXT_PUBLIC_LOAN_API_URL=https://api.your-bank.fr/v1/rates
# LOAN_API_KEY=your_bank_api_key
# ─── Google Analytics (optional) ────────────────────────────────────
# From: https://analytics.google.com → Admin → Data Streams
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX
# ─── Google Maps (optional) ─────────────────────────────────────────
# From: https://console.cloud.google.com → APIs & Services → Credentials
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=AIzaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
GOOGLE_MAPS_PLACE_ID=ChIJxxxxxxxxxxxxxxxxxxxxxxxxx
# ─── Security ────────────────────────────────────────────────────────
# Allowed CORS origin for API (use your production domain)
ALLOWED_ORIGIN=https://morgan-auto.fr