Skip to content

Repository files navigation

Medical API Project

A Kubernetes-ready medical appointment management API with monitoring capabilities using Prometheus and Grafana.

Features

  • User authentication and authorization
  • Doctor and patient management
  • Appointment scheduling and tracking
  • Containerized with Docker
  • Kubernetes deployment configuration
  • Monitoring with Prometheus and custom Grafana dashboards
  • Automatic scaling based on CPU usage

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • Docker
  • Kubernetes
  • Prometheus
  • Grafana

Getting Started

Prerequisites

  • Node.js (v14+)
  • MongoDB
  • Docker and Docker Compose (for containerization)
  • Kubernetes cluster (for deployment)

Installation

  1. Clone the repository:
git clone https://github.com/SpyderCode/medical-api.git
cd medical-api
  1. Install dependencies:
npm install
  1. Configure environment variables:
cp .env.example .env
# Edit .env with your configuration
  1. Run the application:
npm start

Docker Deployment

docker pull spinneowo/medical-api:latest
docker run -p 3000:3000 spinneowo/medical-api

Kubernetes Deployment

kubectl apply -f kubernetes/

Monitoring

The application comes with built-in monitoring using Prometheus and Grafana dashboards:

  • Medical API Dashboard: Shows overall system health, pod counts, and resource usage
  • API Metrics Dashboard: Displays detailed API request metrics and performance data

License

MIT License

Author

  • SpyderCode (GitHub)
  • spinneowo (DockerHub)

About

Medical appointment management API with Kubernetes and monitoring

Resources

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages