Call-for-Code-for-Racial-Justice / Call-for-Code-for-Racial-Justice/TakeTwo-WebAPI

Add health endpoint

未关闭
#42 2 条评论 0 个 reaction 已指派 3 人 已被 @shubham599 认领 在 GitHub 查看
stale
主要语言
Python
星标
8
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

**Is your feature request related to a problem? Please describe.**
Add a health endpoint at `/health` that returns 200 response with the following

**Describe the solution you'd like**
- [ ] add a test to verify `/health` endpoint exists (this will fail)
- [ ] add the `/health` endpoint
- [ ] add a test to verify the `/health` endpoint returns 200 with ` state = {"status": "UP"}` json response

**Describe alternatives you've considered**
N/A

**Additional context**
N/A

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。