Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 38 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,41 @@
# ─────────────────────────────────────────────────────────────
# EduPilot β€” Environment Variables Template
# Copy this file to .env.local and fill in your values
# NEVER commit .env.local to version control
# ─────────────────────────────────────────────────────────────

# ── Supabase ──────────────────────────────────────────────────
# Found in: Supabase Dashboard β†’ Project Settings β†’ API

# Your project URL (safe to expose to client)
NEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co

# Anon/public key (safe to expose to client)
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here

# Service role key β€” NEVER expose to client, server-side only
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here

# ── Razorpay ──────────────────────────────────────────────────
# Found in: Razorpay Dashboard β†’ Settings β†’ API Keys
# Use TEST keys during development

# Test key ID (starts with rzp_test_)
RAZORPAY_KEY_ID=rzp_test_your_key_id_here

# Secret key β€” server-side only, NEVER expose to client
RAZORPAY_SECRET_KEY=your_razorpay_secret_here

# ── Google AI (Gemini) ────────────────────────────────────────
# Get from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your-gemini-api-key-here

# ── App ───────────────────────────────────────────────────────
# Your deployed URL (no trailing slash)
# Development: http://localhost:3000
# Production: https://yourdomain.com
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Supabase Configuration
# Replace these values with your own working Supabase project keys
NEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-actual-supabase-anon-key
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-actual-supabase-anon-key
Loading