A Next.js interface for the Heimdall federated analysis API. It is intentionally isolated under frontend/ from the Python TRE and FLARE code.
cd frontend
npm install
npm run devThe UI uses Webpack mode because the native Windows SWC binary may be unavailable. Browser requests use the same-origin /api proxy, so the browser does not need CORS access to the Python API. The proxy targets http://127.0.0.1:8500 by default.
export BACKEND_API_URL="http://127.0.0.1:8500"The current backend API surface is:
GET /healthGET /allele-frequency?variant=...&project_id=...&min_cell_size=...POST /linear-regressionwithfeatures,target,project_id,filters, andmin_cell_size.POST /logistic-regressionwithfeatures,target,project_id,filters, andmin_cell_size.GET /metadataGET /examples/{name}POST /runGET /run/{run_id}GET /overseerPOST /overseer/{spec_hash}/{decision}GET /audit
Start the Python API from the repository root on port 8500, then start this frontend:
SERVER_OUT=server/api_out uvicorn server.api:app --port 8500
cd frontend
npm run dev