See which React or Next.js pages a Node.js API change breaks
Web apps and admin panels call the API from dozens of components and helper functions. When the backend changes a method or a path, the TypeScript compiler can’t see across the repos. ArchSync can.
1. Put the repos side by side
Clone them into one folder. Nothing is linked or uploaded; ArchSync only reads the files.
my-product/ ├─ api/ # Express, Fastify or Next.js API routes └─ web/ # React, Next.js or an admin panel
2. Scan them together
cd my-product npx archsync scan --workspace
What ArchSync reads:
- API: Express and Fastify routes with their prefixes, Next.js API and App Router route handlers, middleware, controllers and models.
- Web: Pages and components, and the calls they make with axios or fetch — including calls made through your own request helpers and shared endpoint constants.
3. Read the broken calls
Every call that no route answers any more is listed with its repo, method and path. Example output:
$ npx archsync scan --workspace
Cross-system: 24
─── Broken cross-system calls (2) ───
✖ admin: PATCH /v1/admin/users/${id}/role
✖ admin: PATCH /v1/admin/users/${id}/verificationChange something — rename a route, change a method, drop a field — and scan again to see exactly which callers it breaks. Open the result on a canvas with npx archsync serve.
4. Run it on every pull request
# CI (free): check out the related repos side by side, then scan them together git clone --depth 1 $API_REPO api git clone --depth 1 $WEB_REPO web npx archsync scan --workspace # prints "Broken cross-system calls" in the job log
With ArchSync Team, each repo pushes its map to your own Supabase, and any repo can check itself against all the others:
# CI (Team): compare this repo with what every other repo pushed npx archsync scan npx archsync diff --merged --json > merged.json test "$(jq .breakingCount merged.json)" = 0 # fail the job on a breaking change
Good to know
Calls to third-party hosts (absolute URLs to other domains) are kept apart from calls to your own API, so they never show up as false breaks.