Get in Touch
 Duration 14 hours

Course Outline

Introduction

  • Comparing FastAPI, Django, and Flask
  • Key features and benefits of FastAPI

Getting Started

  • Installation of FastAPI
  • Schema definition using OpenAPI

Path and Query Parameters

  • Specifying path parameter types
  • Data parsing and validation techniques
  • Defining mandatory and optional parameters
  • Type conversion for query parameters
  • Managing multiple path and query parameters

Request Bodies with Pydantic Models

  • Building data models
  • Integrating path, query, and body parameters
  • Setting up validations and metadata
  • Utilizing deeply nested models
  • Specifying example data
  • Handling response and additional models

Forms and Files

  • Utilizing form fields in place of JSON
  • Defining file parameters
  • Working with file and form inputs

Error Management

  • Implementing HTTPException
  • Adding custom headers
  • Setting up custom exception handlers
  • Modifying default exception handlers

Database Integration

  • ORM concepts and project structure
  • Constructing SQLAlchemy components
  • Designing database models
  • Creating Pydantic models
  • Executing CRUD operations
  • Establishing tables, dependencies, and path operations
  • Code review and file verification
  • Database interaction patterns

Security and Authentication

  • Applying Oauth2 and OpenID Connect
  • Configuring multiple security schemes via OpenAPI
  • Leveraging FastAPI security utilities

Deployment

  • Deployment strategies, stages, and tools
  • Managing Gunicorn and Uvicorn
  • Utilizing container systems like Docker and Kubernetes

Troubleshooting

Wrap-up and Future Steps

Requirements

  • Familiarity with core API concepts
  • Experience in Python programming

Audience

  • Developers

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from 2900 € + VAT*

Contact us for an exact quote and to hear our latest promotions

Testimonials (4)

Upcoming Courses

Related Categories