Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add a health check endpoint. #311

Merged
merged 1 commit into from
Apr 12, 2023
Merged

Conversation

cullylarson
Copy link
Contributor

Most of the hosting services we use (Render and Flightcontrol) require a health check endpoint. This PR adds such an endpoint that also includes some helpful info.

Checklist

  • Requires dependency update?
  • Generating a new app works

@kgajera
Copy link
Contributor

kgajera commented Apr 10, 2023

Should we refactor this to use the config changes from #312?

@cullylarson
Copy link
Contributor Author

Should we refactor this to use the config changes from #312?

@kgajera The only value from config that I've used in the health endpoint on other projects is stage. Most of the rest of the ones included here aren't directly referenced in config. E.g. NODE_ENV and APP_ENV are consolidated into stage. So it's helpful to see the values directly.

@cullylarson cullylarson merged commit 862bb59 into canary Apr 12, 2023
@cullylarson cullylarson deleted the cully/health-check-endpoint branch April 12, 2023 22:41
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.

2 participants