Skip to main content
    Back to Courses
    Intermediate

    FastAPI - Modern Python APIs

    Build blazing-fast Python APIs in this one-day FastAPI course. You'll learn project setup, routing, request validation with Pydantic, database integration with SQLAlchemy, authentication, background tasks, and deployment. By the end, you'll have a production-ready API.

    4 Modules
    16 Lessons
    1 Tag
    FastAPI - Modern Python APIs – 1 Tag Python course at apigenio

    Skills You'll Learn

    FastAPI project setup & routing
    Pydantic data validation
    async/await patterns
    SQLAlchemy ORM integration
    OAuth2/JWT authentication
    OpenAPI/Swagger documentation

    Course Modules & Lessons

    1

    FastAPI Fundamentals

    Project setup, routing, path/query parameters, request/response models, and the interactive docs

    2h
    Projekt erstellen & erste Route

    Projektstruktur, uvicorn und Hello World Endpoint

    25min
    Path & Query Parameters

    Dynamische Routen und Filterparameter definieren

    20min
    Request & Response Models

    Typisierte Ein- und Ausgaben mit Pydantic BaseModel

    25min
    Interaktive API-Docs

    Swagger UI und ReDoc automatisch generieren lassen

    15min
    2

    Data Models & Validation

    Pydantic models, nested schemas, custom validators, serialization, and error handling

    2h
    Pydantic Models vertiefen

    Verschachtelte Modelle, Optional/Required und Aliase

    25min
    Custom Validators

    field_validator, model_validator und komplexe Regeln

    20min
    Serialisierung & Schemas

    model_dump(), response_model und Schema-Vererbung

    20min
    Fehlerbehandlung

    HTTPException, benutzerdefinierte Error Handler und Logging

    20min
    3

    Database Integration

    SQLAlchemy ORM, async database access, migrations with Alembic, and CRUD operations

    2h
    SQLAlchemy Setup

    Engine, Session und Modelle definieren

    25min
    CRUD-Operationen

    Create, Read, Update, Delete mit Dependency Injection

    25min
    Async Database Access

    Asynchrone Datenbankverbindungen mit asyncpg

    20min
    Migrationen mit Alembic

    Schema-Änderungen versioniert verwalten

    20min
    4

    Deployment & Documentation

    Authentication with OAuth2/JWT, CORS, testing with pytest, Docker, and production deployment

    2h
    OAuth2 & JWT Auth

    Token-basierte Authentifizierung implementieren

    25min
    CORS & Middleware

    Cross-Origin Requests und benutzerdefinierte Middleware

    15min
    Testing mit pytest

    TestClient, Fixtures und API-Tests schreiben

    25min
    Docker & Deployment

    Dockerfile erstellen und Produktions-Deployment

    20min

    Prerequisites

    • Basic Python knowledge
    • Understanding of HTTP and JSON

    Ready to start?

    Join thousands of students already learning.

    Your Trainer

    David Pinezich

    David Pinezich

    Experienced IT architect and trainer specializing in Python, Cloud Architecture, and Enterprise Solutions. Certified TOGAF, CISSP, and AWS professional with years of hands-on training experience.

    We use analytics cookies to improve our website. Learn more