Introduction

Getting started

Run Consumo locally, configure Supabase auth, apply database migrations, and deploy to Vercel with the right environment variables.

Prerequisites

  • Node.js 20+ and pnpm (or npm/yarn)
  • A Supabase project for authentication and data
  • Optional: Vercel for production hosting

Local development

Install and run

cd consumo.io-main
pnpm install
pnpm dev

Open http://localhost:3000 for the marketing site and sign in to reach the dashboard.

Environment variables

Create a .env.local with your Supabase keys (see Environment variables).

Database

Apply the SQL migration for consumption metrics and provider keys. Full steps are in Supabase setup.

Deploy to Vercel

  1. Connect the GitHub repository to a Vercel project.
  2. Add the same Supabase and encryption variables in Vercel project settings.
  3. Redeploy after changing environment variables.
Production metrics require the Supabase migration and, for encrypted provider keys, API_KEY_ENCRYPTION_SECRET.