Add a /health endpoint

Open
#2 1 comment 0 reactions 0 assignees View on GitHub

@LangerSword is already working on this.

Since Nov 24, 2026.

  • #9 by @LangerSword — open

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
next.js, typescript
Domain
api, backend

Research direction

The issue names the exact file to add: app/api/health/route.ts, following the existing route-handler pattern under app/api/. Read a neighbouring route.ts first to match the exported handler and response shape, then look for the repo's existing route tests to copy their setup. Done means GET /health returns { ok: true } and a test covers it — but an open pull request (#9) already targets this, so check with maintainers before starting.

Written by the indexing model from the issue text.

Description

good first issue

There is no lightweight health route. Add app/api/health/route.ts returning a small JSON status (e.g. { ok: true }) so uptime checks can distinguish Worker failures from card-render failures. Include a test if the repo has a route-test pattern.

Dominant language
TypeScript
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from LangerSword/gitone

All issues in LangerSword/gitone

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.