CSSG-Labs / CSSG-Labs/flask-todo-app
Create healthcheck endpoint
Open
backend
good first issue
- Dominant language
- HTML
- Stars
- 2
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] GET request to route returns JSON response:
- HTTP status code
- Current datetime
- Uptime
---
**WHAT:**
- an endpoint that can be used to check if the app is running
**WHY:**
- Useful for tests to ensure app is working
- Useful for future diagnostic checks and reports (ex: database connectivity status)
**HOW:**
- Example can be seen in this Express.js [article](https://betterprogramming.pub/how-to-add-a-health-check-to-your-node-js-app-5154d13b969e)
Contributor guide
Assessment
This issue has not been assessed yet.