CSSG-Labs / CSSG-Labs/flask-todo-app

Create healthcheck endpoint

Open
#9 1 comment 0 reactions 2 assignees Claimed by @fidel-bello View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.