API status

Two routes say whether the API is up. No account is needed, and the answers are never cached.

bash
curl https://api.nodeworldvr.com/health/ready

GET /health

Answers 200 with { "ok": true } as long as the API runs.

GET /health/ready

Also checks the API's database and its cache:

StatusBody
200{ "ok": true, "database": true, "redis": true }
503{ "ok": false, "database": …, "redis": … }, with false for the part that does not answer

While it answers 503, the routes that read the database or the cache fail too. Ask once a minute at most.