Skip to content

[BOUNTY $50] Add GET /hello endpoint returning { ok: true }#127

Open
Yzgaming005 wants to merge 1 commit into
David-patrick-chuks:mainfrom
Yzgaming005:feat/hello-endpoint-bounty-120
Open

[BOUNTY $50] Add GET /hello endpoint returning { ok: true }#127
Yzgaming005 wants to merge 1 commit into
David-patrick-chuks:mainfrom
Yzgaming005:feat/hello-endpoint-bounty-120

Conversation

@Yzgaming005

Copy link
Copy Markdown

Summary

Adds a public GET /hello endpoint for bot detection verification as specified in #120.

Changes

  • apps/api/src/routes/api.ts — Added GET /hello route returning { "ok": true } with 200 status
  • apps/api/src/routes/api.ts — Registered endpoint in apiEndpoints documentation array
  • apps/api/src/routes/api.test.ts — Added test coverage verifying 200 status and exact JSON body

Acceptance Criteria

Notes

  • No authentication required (public endpoint, consistent with /ping)
  • Follows existing code style and patterns in the routes file
  • Test follows the same supertest pattern as other public endpoint tests

Closes #120


Payment: USDT (EVM) 0x683d2759cb626f536c842e8a3d943776198b8b8a · BTC 1CMv2KecNT8fqHPNkSaa7tgpzcfM5zVvaH · SOL GarrWeviAv8kmC9ftRkhax5kSYhhv2Py5FDv4X8bsvqg · XLM GABFQIK63R2NETJM7T673EAMZN4RJLLGP3OFUEJU5SZVTGWUKULZJNL6 (memo: 396193324) · PayPal ahmadyusrizal89@gmail.com

- Returns 200 status with JSON body { "ok": true }
- Added to API documentation endpoint list
- Includes test coverage in api.test.ts
- No authentication required (public endpoint)

Closes David-patrick-chuks#120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY $50] Add a hello-world test endpoint to verify bot detection

1 participant