ClauseGuard / web /.env.example
gaurv007's picture
🔧 v4.3: Web app deep audit — 12 bugs fixed (4 critical) (#6)
bf51166
raw
history blame contribute delete
903 Bytes
# Supabase
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=eyJ...
SUPABASE_SERVICE_ROLE_KEY=eyJ...
SUPABASE_JWT_SECRET=your-jwt-secret
# Razorpay
RAZORPAY_KEY_ID=rzp_test_...
RAZORPAY_KEY_SECRET=...
RAZORPAY_WEBHOOK_SECRET=...
NEXT_PUBLIC_RAZORPAY_KEY_ID=rzp_test_...
RAZORPAY_PRO_PLAN_ID=plan_...
RAZORPAY_TEAM_PLAN_ID=plan_...
# Resend
RESEND_API_KEY=re_...
# App
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# ClauseGuard Gradio Space URL (used by analyze, compare, redline routes)
CLAUSEGUARD_GRADIO_URL=https://gaurv007-clauseguard.hf.space
# Optional: FastAPI backend URL (only needed if deployed separately for chat/RAG sessions)
# If not set, chat will direct users to the Gradio Space
CLAUSEGUARD_API_URL=
# HF Inference API (for chatbot + redlining LLM)
HF_TOKEN=hf_...
# Optional: SaulLM for explain endpoint
SAULLM_ENDPOINT=
HF_API_TOKEN=