Skip to main content
For a faster start, see the Quickstart guide which covers the minimal setup. This page has the full details.

Prerequisites

Clone repositories

Backend

Create .env:
Run:
Verify: curl http://localhost:5079/health Swagger UI: http://localhost:5079/swagger

Frontend

Edit config.js with your Supabase credentials:
Run: npm run dev — opens at http://localhost:8000

Admin panel

Set BACKEND_URL in wrangler.toml for local backend:

Docker (alternative)

Backend starts on port 8080. Set env vars in docker-compose.yml.

Verify full stack

  1. Backend: curl http://localhost:5079/health returns {"status":"healthy"}
  2. Frontend: Open http://localhost:8000, login with Google
  3. Chat: Send a prompt in the arena
  4. Admin: Open admin dev server URL