add GET /health (#842 fleet convention) and point the Railway healthcheckPath at it

Open Beginner friendly
#105 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
67/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
backend, devops

Research direction

Read the route setup and Railway configuration for both instances, then compare the health endpoint convention referenced as #842. Add the public JSON GET /health route and configure each Railway instance with healthcheckPath: /health after merge. Done when both deployments use that path and the healthcheck succeeds.

Written by the indexing model from the issue text.

Description

chore

Fleet convention (#842): every app serves GET /health. campus-admin doesn't — which surfaced today when the #97 remap turned / into a redirect and the deployment healthcheck (configured as healthcheckPath: /) failed it, rolling back both environments until the check was re-pointed to /admin (a page probe — heavier than a JSON health read, and coupled to the home route staying public/200).

Ask: add the GET /health route (public, JSON, per the #842 convention used by auth/api/audit/gateway and the downstream apps), then set healthcheckPath: /health on both Railway instances. Steps 2 happens on the platform side after merge (healthcheckPath is an instance setting; the campus-profile#71 session has the GraphQL mechanics).

Dominant language
Python
Stars
0
Forks
0
Avg merge
13m
Merged PRs (30d)
62

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

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 nyjc-computing/campus-admin

All issues in nyjc-computing/campus-admin

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.