Overview: A production-grade FastAPI microservice template that lets you ship secure, observable APIs in hours.
Key Capabilities: JWT auth (access/refresh), API keys, RBAC; PostgreSQL + Alembic; Redis cache & rate-limits;
pytest tests (unit/integration/contract); OpenAPI/Swagger & ReDoc; GitHub Actions (lint→tests→build→SBOM→scan→push);
Dockerfile (multi-stage), Helm chart; OpenTelemetry traces, Prometheus metrics, health endpoints.
Architecture: API routers with DI; domain & repository layers; SQLAlchemy 2.0 async; caching for hot paths; autogenerated OpenAPI; dev harness.
Security & Compliance: OWASP hardening, rate-limit & CORS; token rotation; SBOM; container scanning; secrets management.
Performance & Ops: Async workers; autoscaling (HPA) guidance; blue/green & canary rollouts.
Quick Start: 1) Configure .env. 2) docker compose up -d. 3) make test. 4) helm upgrade –install.
Deliverables: Source tree, Helm/k8s manifests, SBOM, runbooks, Postman collection.
FAQ: DB adapters (MySQL/SQLite) and pluggable OAuth/OIDC auth.

Reviews
There are no reviews yet.