Deploying the Remlo application requires configuring the Next.js runtime, connecting to the managed Supabase instance, and securing the API routes that power the MPP execution layer. Remlo is optimized for deployment on Vercel, which natively supports the Next.js App Router and Edge Functions used heavily throughout the codebase.Documentation Index
Fetch the complete documentation index at: https://docs.remlo.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Deployment Prerequisites
Before deploying the Remlo application to production, you must ensure that several external services are properly provisioned and configured:- Supabase Database: Provision a managed PostgreSQL instance on Supabase. Apply the full SQL schema found in the
REMLO_MASTER.mdto ensure all necessary tables (employers,employees,payroll_runs, etc.) exist with their corresponding Row Level Security (RLS) policies. - Bridge API Ecosystem: A live Bridge production API key is required to handle fiat on/off-ramping. Configure the webhook secrets to listen for state changes from Bridge regarding KYB and transfer settlements.
- Privy Application ID: You must create a production application in the Privy console. This secures the embedded wallet infrastructure for the Employee Portal and manages corporate logins for the Employer Dashboard.
Vercel Configuration
The providedvercel.json and next.config.ts are pre-optimized for serverless environments.
To deploy using the Vercel CLI:
Post-Deployment Verification
Once the application is live, you must verify the operational integrity of the MPP execution layer:- Call the production
GET /api/mpp/treasury/yield-ratesendpoint vianpx agentcashto ensure the server correctly authenticates the L402 wrapper and queries the Tempo Moderato testnet without timing out. - Navigate to the Employer Dashboard and confirm that the Privy authentication modal successfully mounts and provisions a test session.