visheshrwl / Uber-like

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.
MIT License
11 stars 28 forks source link

Create healthCheck.ts #17

Closed Aryam2121 closed 1 month ago

Aryam2121 commented 1 month ago

Overall Status: Indicates whether the service is healthy or unhealthy. Service Version: Displays the current version of the service (extracted from the package.json or service configuration). Uptime: Shows the time (in seconds) since the service was started. Dependency Status: Reports the health of critical dependencies such as: Database (e.g., PostgreSQL, MongoDB): Validates the connection and query execution. Cache (e.g., Redis): Checks if the cache is reachable and operational. Message Broker (e.g., Kafka): Ensures the producer and consumer clients are active. solve the 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.

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).