{"repo":"IlyaGrebenschikov/FastAPI_example","free":true,"listed":false,"github":"https://github.com/IlyaGrebenschikov/FastAPI_example","clone":"git clone https://github.com/IlyaGrebenschikov/FastAPI_example.git","description":"FastAPI service with Clean Architecture, Dishka DI, async SQLAlchemy 2.0, JWT (RS256), Alembic, Redis rate limiting, email validation, and async email notifications via FastStream + Kafka; Docker Compose profiles with Loki/Promtail/Grafana.","language":"Python","stars":11,"topics":["clean-architecture","dishka","docker","docker-compose","fastapi","grafana","layered-architecture","loki","observability","postgresql"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"FastAPI Example Production-ready educational FastAPI service implementing Vertical Slices + CQRS + Onion Architecture patterns. Features async SQLAlchemy 2.0, JWT authentication, dependency injection (Dishka), Redis caching/rate limiting, asynchronous mail notifications via FastStream + Kafka , and comprehensive observability stack (Loki + Promtail + Grafana). Dockerized and fully automated. Table of Contents - Tech Stack - Architecture - Core Principles - Layered Structure - Vertical Slices - CQRS Pattern - Project Structure - Requirements - Environment Setup - JWT Key Generation - Quick Start - API Overview - Monitoring & Logging - Rate Limiting - Email Verification - Email Notifications (FastStream + Kafka) - Database Migrations - Dependency Injection - Useful Commands Tech Stack Core Framework & Web - FastAPI 0.119+ — Modern async web framework - Uvicorn 0.38+ — ASGI server - Pydantic 2+ — Data validation & settings management Database & ORM - SQLAlchemy 2.0 — Async ORM with full type hints - asyncpg 0.30+ — High-performance PostgreSQL async driver - Alembic 1.17+ — Database migrations Security & Authentication - PyJWT 2.10+ — JWT token handling - pwdlib[argon2] 0.3+ — Password hashing (Argon2) - cryptography 46+ — Cryptographic operations Dependency Injection - Dishka 1.7+ — Lightweight, scoped async DI container Caching & Rate Limiting - Redis 7.3+ — Distributed cache & rate limiting state Messaging & Background Processing - FastStream 0.6+ — Async message processing fr","default_branch":null,"files":null,"tree":[],"storefront":"/r/IlyaGrebenschikov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IlyaGrebenschikov/FastAPI_example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}