Skip to main content
The platform is built with Next.js and Supabase. This guide covers running it locally against a local Supabase database, so local development never touches the live database.

Prerequisites

You don’t need to install PostgreSQL. The Supabase CLI runs Postgres and the rest of Supabase in Docker.

First-time setup

1

Install dependencies from the repo root

2

Start the local Supabase stack from apps/platform

The first run downloads the Docker images, which takes a few minutes. It then builds the database from supabase/migrations/ and loads test data from supabase/seed.sql.
3

Create your env file

Then replace the NEXT_PUBLIC_SUPABASE_ANON_KEY placeholder with the ANON_KEY value from:
The hCaptcha values in .env.example are hCaptcha’s official test keys and always pass, so leave them as they are.
4

Start the app from the repo root

The app runs at http://localhost:3001.
5

Log in

Use one of the test accounts.