mirror of
https://github.com/bitbaum/fitfoot.git
synced 2026-12-04 03:47:00 +01:00
🚀 Automated deployment 📊 All quality checks included 🔄 Monitor will handle issues
59 lines
2.0 KiB
Plaintext
59 lines
2.0 KiB
Plaintext
# === FitFoot Environment Configuration ===
|
||
# Copy this file to .env.local in the apps/web directory
|
||
|
||
# === Frontend / Next.js ===
|
||
NEXT_PUBLIC_SITE_URL=http://localhost:3005
|
||
NEXT_PUBLIC_MEDUSA_BACKEND_URL=http://localhost:9000
|
||
|
||
# === Supabase Configuration ===
|
||
# Primary Supabase project – replace placeholders with your real secrets
|
||
NEXT_PUBLIC_SUPABASE_URL=https://ghsnckaygyjsebgrvdwv.supabase.co
|
||
# Public anon key can be found in the Supabase Dashboard → Project settings → API → anon key
|
||
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
|
||
|
||
# === Sanity CMS ===
|
||
NEXT_PUBLIC_SANITY_PROJECT_ID=m6r6y2se
|
||
NEXT_PUBLIC_SANITY_DATASET=production
|
||
NEXT_PUBLIC_SANITY_API_VERSION=2023-05-27
|
||
SANITY_AUTH_REDIRECT_URL=http://localhost:3334/api/auth
|
||
|
||
# === Error Tracking & Monitoring (Optional) ===
|
||
NEXT_PUBLIC_SENTRY_DSN=
|
||
SENTRY_ORG=
|
||
SENTRY_PROJECT=
|
||
|
||
# === Performance Monitoring ===
|
||
NEXT_PUBLIC_ENABLE_PERFORMANCE_MONITORING=true
|
||
|
||
# === Analytics (Optional) ===
|
||
NEXT_PUBLIC_UMAMI_SCRIPT_URL=
|
||
NEXT_PUBLIC_UMAMI_WEBSITE_ID=
|
||
|
||
# === Development Settings ===
|
||
NODE_ENV=development
|
||
|
||
# ====================================================
|
||
# MEDUSA BACKEND CONFIGURATION (ACTIVE)
|
||
# ====================================================
|
||
# These are required for the real Medusa backend:
|
||
|
||
# === Database (Supabase PostgreSQL) ===
|
||
# Use the "Direct connection" string from Supabase → Database Settings → Connection string
|
||
# ⚠️ Never commit the real password to git. Keep it in local .env files or in your CI/CD secrets manager.
|
||
DATABASE_URL=postgresql://postgres:your-password@db.ghsnckaygyjsebgrvdwv.supabase.co:5432/postgres
|
||
|
||
# === Authentication ===
|
||
JWT_SECRET=your-strong-jwt-secret-replace-in-production
|
||
COOKIE_SECRET=your-strong-cookie-secret-replace-in-production
|
||
|
||
# === CORS Configuration ===
|
||
STORE_CORS=http://localhost:3005
|
||
ADMIN_CORS=http://localhost:3005
|
||
AUTH_CORS=http://localhost:3005
|
||
|
||
# === Supabase Backend Access ===
|
||
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
|
||
|
||
# === Payment Gateway (Future) ===
|
||
# STRIPE_SECRET_KEY=
|
||
# STRIPE_WEBHOOK_SECRET= |