Skip to Content
DeploymentBackend → Render

Backend → Render

Infrastructure as Code

The render.yaml at the repo root defines the backend service:

services: - type: web name: fluxpay-backend runtime: node rootDir: backend buildCommand: npm install startCommand: npm start healthCheckPath: /health

Setup

  1. Connect the repo in the Render dashboard
  2. Render picks up render.yaml automatically
  3. Set these secrets in the Render environment:
SecretPurpose
FRONTEND_URLYour Vercel URL (for CORS)
WEB3AUTH_CLIENT_IDMust match frontend
DATABASE_URLNeon Postgres (optional)
VENICE_API_KEYAI verification (optional)
FAUCET_PRIVATE_KEYTestnet faucet (optional)
AGENT_PRIVATE_KEYOn-chain redemption (optional)

Health Check

Render uses /health to verify the service is running:

{ "status": "ok", "service": "fluxpay-backend", "storage": "postgres" }
Last updated on