Skip to content

Feat: Add /health endpoint#85

Open
mortalh4 wants to merge 1 commit intogbowne1:masterfrom
mortalh4:feat/health-endpoint
Open

Feat: Add /health endpoint#85
mortalh4 wants to merge 1 commit intogbowne1:masterfrom
mortalh4:feat/health-endpoint

Conversation

@mortalh4
Copy link

@mortalh4 mortalh4 commented Feb 2, 2026

Hi! As requested, I have added the /health endpoint to server.js.

Changes:

Implemented GET /health which returns 200 OK and a timestamp.

Fix: Renamed .env.example: to .env.example.

Reason for the file rename: I am working on Windows, and the colon (:) in the filename prevented me from cloning and running the project locally. I had to rename it to make the environment work. I included this fix in this PR because I couldn't verify the /health endpoint without it.

I am aware there is an existing discussion regarding this in Issue #84

@gbowne1
Copy link
Owner

gbowne1 commented Feb 2, 2026

@mortalh4

Thanks for the PR.

That's a great fix but this PR doesn't need the rename the env file commit. theres already a fix for this in #84 that will be merged as soon as its reviewed. Likely later today

Remove the rename from this PR.

I'll test this PR.

Thanks

@mortalh4 mortalh4 force-pushed the feat/health-endpoint branch from 4f345eb to 08298ac Compare February 2, 2026 12:52
@mortalh4
Copy link
Author

mortalh4 commented Feb 2, 2026

Thanks for the feedback! I've removed the rename commit from this PR. It should be clean now.

@gbowne1 gbowne1 added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Feb 3, 2026
Copy link
Collaborator

@shishir-21 shishir-21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mortalh4

Thankyou for this pr
I approved this pr
Ready to merge👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants