Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.11 KB

File metadata and controls

55 lines (35 loc) · 1.11 KB

Mapcode API Test

Browser-first local parity dashboard for comparing ../mapcode-rest-service with ../mapcode-rest-service-ts.

Setup

npm install
cp .env.example .env

Optional map preview:

TOMTOM_API_KEY=your-key

Run

Run the local coordinator. After npm run build, it also serves the browser dashboard from dist/ui.

npm run dev

For UI-only development with Vite:

npm run dev:ui

Local services

Default managed mode expects:

  • Production service: ../mapcode-rest-service
  • Candidate service: ../mapcode-rest-service-ts

Attached service base URLs are accepted by the coordinator run API. Dashboard controls for editing those URLs are a follow-up.

Reports

Reports are written under reports/ and ignored by git:

  • Markdown report output, such as report.md, for human and AI-agent handoff.
  • JSON report output, such as report.json, for machine-readable discrepancy evidence.

The dashboard displays the exact saved paths returned by the coordinator. Secrets, including TOMTOM_API_KEY, are redacted.

Verify

npm run lint
npm test