This repository contains the codebase for an Uber-like application providing both delivery and cab services. The project uses modern technologies including Docker, Kubernetes, TypeScript for backend, React for frontend, GraphQL for API interactions, Redis for caching, Kafka for message brokering, and advanced routing algorithms.
The health check endpoint (/health) uses a GET request. It attempts to check the database connection. If it fails, it catches the error and returns an unhealthy status with an error message. If the check passes, it returns a JSON response with the health status, application version, and uptime.solve issue #3
All Submissions:
[ ] Have you followed the guidelines stated in README.md file?
[ ] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.
b. Describe your changes.
c. Put `closes #3` in your comment to auto-close the issue that your PR fixes (if such).
Health Router:
The health check endpoint (/health) uses a GET request. It attempts to check the database connection. If it fails, it catches the error and returns an unhealthy status with an error message. If the check passes, it returns a JSON response with the health status, application version, and uptime.solve issue #3
All Submissions:
Type of change
Please delete options that are not relevant.
After these steps, you're ready to open a pull request.