Skip to main content
This guide is for developers contributing to 0 Finance. If you just want to use the CLI, see Installation.

Prerequisites

  • Node.js v22.11+
  • pnpm
  • Docker (for local database)

Clone and bootstrap

git clone https://github.com/different-ai/zero-finance.git
cd zero-finance
./scripts/bootstrap.sh
The bootstrap script:
  1. Installs Node.js and pnpm if missing
  2. Runs pnpm install
  3. Sets up required tooling

Environment setup

Copy the example environment file:
cp packages/web/.env.example packages/web/.env.local
Ask the team for the required secrets:
  • DATABASE_URL — Postgres connection string
  • PRIVY_APP_ID and PRIVY_APP_SECRET — Auth provider
  • BRIDGE_API_KEY — Payment rails
  • Other service credentials

Start the dev server

pnpm dev
The web app runs on http://localhost:3050.

Verify the setup

curl http://localhost:3050/api/health
Expected response:
{
  "status": "ok",
  "timestamp": "2026-01-12T00:00:00.000Z",
  "message": "Server is running"
}

Alternative: Lite stack

For a minimal Docker-based setup:
pnpm dev:lite
This uses docker-compose.lite.yml with local Postgres and mock services.

Quality checks

# Type checking
pnpm typecheck

# Linting
pnpm lint

# Tests
pnpm --filter @zero-finance/web test

# Build
pnpm --filter @zero-finance/web build

Next steps