How to get a /health
route in Strapi CMS
It can also be used for similar use cases of a route without any
/api
or/admin
prefix
- Generate a plugin named
healthcheck
This will generate this folder
src/plugins/healthcheck
npm run strapi generate plugin Plugin name: healthcheck