Reference

Environment Variables

Complete environment variable reference for Recurex deployments.

Supabase (required)

VariablePurpose
NEXT_PUBLIC_SUPABASE_URLSupabase project URL
NEXT_PUBLIC_SUPABASE_ANON_KEYPublic anon key
SUPABASE_SERVICE_ROLE_KEYAdmin client, OAuth tokens, crons, webhooks

Site

VariablePurpose
NEXT_PUBLIC_SITE_URLCanonical URL for OAuth, MCP, sitemap, callbacks

Auth

VariablePurpose
NEXT_PUBLIC_GOOGLE_CLIENT_IDGoogle One Tap (same Web client ID as Supabase)

OAuth / MCP

VariablePurpose
OAUTH_CODE_SECRETHMAC signing for authorization codes

Provider credentials encryption

VariablePurpose
PROVIDER_ENC_KEYAES-256-GCM key for provider/GoDaddy credentials

Cron jobs

VariablePurpose
CRON_SECRETBearer secret for /api/cron/* routes

Email (Resend)

VariablePurpose
RESEND_API_KEYSend invite and reminder emails
REMINDER_FROM_EMAILSender address (default: Recurex <hello@aaggi.com>)

Razorpay billing

VariablePurpose
RAZORPAY_KEY_IDAPI key
RAZORPAY_KEY_SECRETAPI secret
RAZORPAY_WEBHOOK_SECRETWebhook HMAC verification
RAZORPAY_PLAN_PRO_USD_MONTHLYPlan ID
RAZORPAY_PLAN_PRO_USD_YEARLYPlan ID
RAZORPAY_PLAN_PRO_INR_MONTHLYPlan ID
RAZORPAY_PLAN_PRO_INR_YEARLYPlan ID
RAZORPAY_PLAN_TEAM_USD_MONTHLYPlan ID
RAZORPAY_PLAN_TEAM_USD_YEARLYPlan ID
RAZORPAY_PLAN_TEAM_INR_MONTHLYPlan ID
RAZORPAY_PLAN_TEAM_INR_YEARLYPlan ID

Billing enforcement

VariablePurpose
NEXT_PUBLIC_BILLING_ENFORCEDSet "true" to enforce plan gates

FX rates

VariablePurpose
FX_API_URLExchange rate API base (e.g. open.er-api.com pattern)

GoDaddy

VariablePurpose
GODADDY_API_BASE_URLOptional API override (default: https://api.godaddy.com)

Build info

VariablePurpose
VERCEL_GIT_COMMIT_SHAInjected by Vercel; exposed as NEXT_PUBLIC_COMMIT_SHA