Skip to content

v0.1.0

Latest

Choose a tag to compare

@mohit-tanwar-dev mohit-tanwar-dev released this 05 Aug 07:13

Initial release

First tagged release of python-backend.

What's included

  • FastAPI 0.115 app with lifespan event hooks
  • Health-check endpoints at /health and /api/v1/health
  • Structured logging via stdlib logging
  • Pydantic v2 + pydantic-settings configuration with env-driven defaults
  • pytest test suite (3 tests, all passing)
  • Ruff 0.8 for lint + format
  • mypy 1.14 for type checking
  • GitHub Actions CI on Python 3.11 and 3.12
  • Dependabot for pip + github-actions
  • Multi-stage Dockerfile (non-root user + healthcheck)
  • README, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, CHANGELOG
  • Branch protection on main (PR required, linear history, no force-push)

API endpoints

Method Path Description
GET / Root — service info
GET /health Public health check
GET /api/v1/health Versioned health check
GET /docs Swagger UI
GET /redoc ReDoc UI
GET /openapi.json OpenAPI schema

Install and run

git clone https://github.com/mohit-tanwar-dev/python-backend.git
cd python-backend
pip install -r requirements-dev.txt
uvicorn app.main:app --reload

Or with Docker:

docker build -t python-backend:0.1.0 .
docker run --rm -p 8000:8000 python-backend:0.1.0

Changelog

See CHANGELOG.md.