Pilot 1 — Richards Bay → India coal

BillKey

Open dashboard

The dashboard runs in this Next.js app (same repo as Cursor). Optional: keep a separate Lovable UI for experiments — point it at this site's origin for API calls — or develop UI only here to avoid sync issues.

Document upload, AI-assisted extraction, cross-document validation, workflow, RBAC, and audit are being implemented in this repository. API routes and app screens will connect to the Prisma schema and validation engine next.

Quick checks: /api/v1/health · /api/v1/shipments (needs DB + env on Vercel; may 403/500 until configured).

Auth: /api/auth/* (credentials, JWT). Locally run npm run db:migrate and npm run db:seed for demo data.