All four issues have been resolved in this PR.
- #8 Configure CORS — Registered
@fastify/corswith an env-driven origin allowlist (CORS_ORIGIN). Frontend can now call the API from its dev origin. - #9 Replace prisma db push with migrations — Committed initial migration under
prisma/migrations/. Bothdocker-compose.ymlandscripts/dev.shnow runprisma migrate deployinstead ofdb push. - #10 Raise declared Node version to 20.12 —
engines.nodeinpackage.jsonis now>=20.12. README updated to state the same minimum. - #11 Add a readiness endpoint — New
/readyendpoint verifies database connectivity and reports indexer lag. Returns 503 when a dependency is unavailable.