Course Outline

Introduction

  • Comparing FastAPI, Django, and Flask for government projects
  • Overview of FastAPI features and advantages for government applications

Getting Started

  • Installing FastAPI for government use
  • Defining a schema using OpenAPI for government systems

Path and Query Parameters

  • Declaring path parameter types in government applications
  • Parsing and validating data for government workflows
  • Declaring required and optional parameters for government services
  • Converting query parameter types for government requirements
  • Handling multiple path and query parameters for government projects

Declaring a Request Body with Pydantic Models

  • Creating a data model for government use
  • Combining path, query, and body parameters in government applications
  • Declaring validations and metadata for government systems
  • Using deeply nested models for government projects
  • Defining example data for government services
  • Response and extra models for government applications

Defining Forms and Files

  • Using form fields instead of JSON in government systems
  • Creating file parameters for government projects
  • Using file and form parameters in government applications

Handling Errors

  • Using HTTPException for error handling in government services
  • Adding custom headers for government applications
  • Installing custom exception handlers for government systems
  • Overriding default exception handlers for government projects

Working with Databases

  • ORMs and file structure for government databases
  • Creating SQLAlchemy parts for government use
  • Creating database models for government applications
  • Creating Pydantic models for government systems
  • Performing CRUD operations in government projects
  • Creating tables, dependencies, and path operations for government services
  • Reviewing and checking files for government applications
  • Interacting with the database for government use

Security and Authentication

  • Using OAuth2 and OpenID Connect for government security
  • Defining multiple security schemes with OpenAPI for government systems
  • Using FastAPI utilities for government authentication

Deployments

  • Deployment concepts, stages, and tools for government projects
  • Working with Gunicorn and Uvicorn for government applications
  • Using container systems (Docker and Kubernetes) for government deployments

Troubleshooting

Summary and Next Steps

Requirements

  • An understanding of API concepts for government
  • Python programming experience

Audience

  • Developers
 14 Hours

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories