Skip to content

[BOUNTY ] Add GET /hello endpoint returning { ok: true }#124

Open
lequangsang01 wants to merge 2 commits into
David-patrick-chuks:mainfrom
lequangsang01:fix/hello-endpoint
Open

[BOUNTY ] Add GET /hello endpoint returning { ok: true }#124
lequangsang01 wants to merge 2 commits into
David-patrick-chuks:mainfrom
lequangsang01:fix/hello-endpoint

Conversation

@lequangsang01

@lequangsang01 lequangsang01 commented Jun 27, 2026

Copy link
Copy Markdown

Summary

  • Adds GET /hello route at app root that responds with HTTP 200 and { "ok": true }
  • Adds dedicated app-level test verifying the endpoint
  • Properly scoped at /hello (not /api/hello) per the bounty specification

Acceptance Criteria

  • Route responds 200
  • JSON body is { "ok": true }
  • PR references this issue

Changes

apps/api/src/app.ts:

  • Added GET /hello route handler returning { ok: true } at the app root level

apps/api/src/app.test.ts:

  • Added new test file with test case verifying GET /hello returns { ok: true } with status 200

apps/api/src/routes/api.ts:

  • Removed the previously misplaced /hello route (was at /api/hello)

apps/api/src/routes/api.test.ts:

  • Removed the /api/hello test (moved to app.test.ts)

Closes #118
Closes #120

/claim

Adds a simple hello-world test endpoint at GET /api/hello that
responds with { "ok": true } and HTTP 200.

Closes David-patrick-chuks#120
@lequangsang01 lequangsang01 changed the title [BOUNTY ] Add GET /hello endpoint returning { ok: true } [BOUNTY $50] Add GET /hello endpoint returning { ok: true } Jun 27, 2026
…-chuks#118, David-patrick-chuks#120)

The /hello endpoint was mounted under /api but the bounty requires /hello.
Moved it to app.ts and added a dedicated app-level test.
@lequangsang01 lequangsang01 changed the title [BOUNTY $50] Add GET /hello endpoint returning { ok: true } [BOUNTY ] Add GET /hello endpoint returning { ok: true } Jun 27, 2026
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 [BOUNTY $50] Add a hello-world test endpoint to verify bot detection

1 participant