generated from Innovix-Matrix-Systems/ims-laravel-api-starter
-
Notifications
You must be signed in to change notification settings - Fork 3
App Health Check
Azizul Hakim edited this page Oct 11, 2023
·
1 revision
After starting the app, it's essential to verify its health by performing the following steps:
Open your web browser or use a tool like curl
to access the health check endpoint:
http://127.0.0.1:8000/api/healthz
Upon hitting the health check endpoint, the app should respond with a JSON object similar to the following:
{
"cache": true,
"http": true,
"storage": true,
"database": true,
"migration": true
}
If you receive a response like this, congratulations! Your app is healthy and functioning correctly.
Verifying the health of your application is an essential step to ensure that all components and services are running as expected. This check can help you identify and resolve issues promptly.
Remember to perform this health check regularly, especially after making significant changes to your application or its environment.