backendgood first issue
仓库指标
- 星标
- (2 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
- 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