Reference
Environment Variables
Complete environment variable reference for Recurex deployments.
Supabase (required)
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | Public anon key |
SUPABASE_SERVICE_ROLE_KEY | Admin client, OAuth tokens, crons, webhooks |
Site
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_SITE_URL | Canonical URL for OAuth, MCP, sitemap, callbacks |
Auth
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_GOOGLE_CLIENT_ID | Google One Tap (same Web client ID as Supabase) |
OAuth / MCP
| Variable | Purpose |
|---|---|
OAUTH_CODE_SECRET | HMAC signing for authorization codes |
Provider credentials encryption
| Variable | Purpose |
|---|---|
PROVIDER_ENC_KEY | AES-256-GCM key for provider/GoDaddy credentials |
Cron jobs
| Variable | Purpose |
|---|---|
CRON_SECRET | Bearer secret for /api/cron/* routes |
Email (Resend)
| Variable | Purpose |
|---|---|
RESEND_API_KEY | Send invite and reminder emails |
REMINDER_FROM_EMAIL | Sender address (default: Recurex <hello@aaggi.com>) |
Razorpay billing
| Variable | Purpose |
|---|---|
RAZORPAY_KEY_ID | API key |
RAZORPAY_KEY_SECRET | API secret |
RAZORPAY_WEBHOOK_SECRET | Webhook HMAC verification |
RAZORPAY_PLAN_PRO_USD_MONTHLY | Plan ID |
RAZORPAY_PLAN_PRO_USD_YEARLY | Plan ID |
RAZORPAY_PLAN_PRO_INR_MONTHLY | Plan ID |
RAZORPAY_PLAN_PRO_INR_YEARLY | Plan ID |
RAZORPAY_PLAN_TEAM_USD_MONTHLY | Plan ID |
RAZORPAY_PLAN_TEAM_USD_YEARLY | Plan ID |
RAZORPAY_PLAN_TEAM_INR_MONTHLY | Plan ID |
RAZORPAY_PLAN_TEAM_INR_YEARLY | Plan ID |
Billing enforcement
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_BILLING_ENFORCED | Set "true" to enforce plan gates |
FX rates
| Variable | Purpose |
|---|---|
FX_API_URL | Exchange rate API base (e.g. open.er-api.com pattern) |
GoDaddy
| Variable | Purpose |
|---|---|
GODADDY_API_BASE_URL | Optional API override (default: https://api.godaddy.com) |
Build info
| Variable | Purpose |
|---|---|
VERCEL_GIT_COMMIT_SHA | Injected by Vercel; exposed as NEXT_PUBLIC_COMMIT_SHA |
