This Node.js catalog API shows how to compare two deployments before switching a test client. It has no AWS credentials, real records, or database dependencies.
With Node.js 24, start the same code on two ports in separate terminals:
PORT=8080 node server.mjsPORT=8081 node server.mjsFrom a third terminal, compare the two origins:
node smoke.mjs http://127.0.0.1:8080 http://127.0.0.1:8081The smoke test checks health, the exact sample catalog response, and an unknown
item returning 404. Locally this verifies the application contract, not either
hosting provider. For hosted parity, replace the origins with disposable
service URLs. The Dockerfile builds the fixture; set App Runner's HTTP port
to 8080 and its HTTP health path to /healthz. Keep the original service
unchanged while you test the second deployment.