A quick description of health with minimal plugin. It is written in JS and not TS as it doesn't pick up ts files without compiling.
After installation, go to http://localhost:1337/health:
{
"uptime": 19122.561740091,
"message": "OK",
"timestamp": 1696513452150
}
In your strapi project run:
npm install strapi-health-plugin
To apply the plugin to Strapi run re-build command
strapi build