Skip to content

About

Healthping — a lightweight FastAPI service for checking host availability, with automated tests, Docker support, and Kubernetes deployment configuration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

Healthping

FastAPI backend application with automated tests, code quality checks, Docker support, and Kubernetes deployment.

Tech Stack

  • Python
  • FastAPI
  • Pytest
  • Docker
  • Kubernetes
  • GitHub Actions

Project Structure

.
├── .github/workflows/   # CI workflows
├── Codereview/          # Code review tools
├── Requirements/        # Project requirements
├── k8s/                 # Kubernetes manifests
├── tests/               # Tests
├── Dockerfile           # Docker configuration
└── pytest.ini           # Pytest configuration

Run Locally

Install dependencies:

pip install -r requirements.txt

Run the application:

uvicorn main:app --reload

API:

http://localhost:8000

Swagger:

http://localhost:8000/docs

Tests

Run tests with:

pytest

Docker

Build the image:

docker build -t healthping .

Run the container:

docker run -p 8000:8000 healthping

Kubernetes

Kubernetes manifests are located in the k8s/ directory.

kubectl apply -f k8s/

Check running pods:

kubectl get pods

CI

GitHub Actions workflows are located in .github/workflows/ and are used for automated testing and code quality checks.

About

Healthping — a lightweight FastAPI service for checking host availability, with automated tests, Docker support, and Kubernetes deployment configuration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages