gourses

← Volver a la búsqueda

FastAPI Masterclass

udemy · Desarrollo · ⭐ 4.79 (20 reseñas) · All Levels · en · ⏱ 25,5 h

Impartido por Boris Paskhaver · 384 alumnos

49.99 USD

Entra en tu cuenta para guardar este curso y volver a él cuando quieras.

Comparar este curso
Ver curso en udemy

Enlace de afiliado: podemos cobrar comisión, sin coste extra para ti. Más información

Descripción

Welcome to FastAPI Masterclass, a comprehensive introduction to backend development in Python with FastAPI. FastAPI is a Python framework for building fast, modern server-side applications and APIs. It has exploded in popularity in the last few years. Today, it has more than 100,000 stars on GitHub and more daily downloads than Django and Flask on PyPi. It powers applications in companies like Netflix, Microsoft, Uber, OpenAI, and Amazon. One of FastAPI’s greatest strengths is its flexibility. Unlike larger frameworks that impose a specific structure, FastAPI gives developers the freedom to choose how their applications are organized. You can customize the folder structure, database, ORM, authentication system, validation rules, testing strategy, and architecture. No previous backend development experience is required. This course follows a linear progression, beginning with the fundamentals and gradually advancing to topics such as authorization, authentication, testing, architecture, and more. Topics covered: • Clients and servers • Routes and HTTP methods • Path parameters • Query parameters • Debugging with Visual Studio Code • Cookies and Headers • FastAPI Validator Functions (Path, Query, Cookie, Header, and More) • Dependencies (Functions, Classes, and Other Callables) and Dependency Injection (DI) • Object-Relational Mappers (ORM) • Database Queries • Database Migrations • Codebase Structure • Password hashing • JSON Web Tokens (JWTs) • Authentication • Authorization • and more! In addition to FastAPI, the course covers many helpful libraries and tools from the modern Python ecosystem including: • uv • Pydantic • SQLModel • SQLAlchemy • SQLite 3 • Alembic The first part of the course offers a step-by-step walkthrough of a rent-a-room project inspired by home-stay platforms such as Airbnb. We begin from scratch and gradually incorporate all the critical components of a modern FastAPI application. After the main project, the course explores common backend topics in dedicated sections. These include database migrations, password hashing, JWT-based authentication, authorization, application architecture, and automated testing. By the end of FastAPI Masterclass, you will not only understand the syntax and features of FastAPI but also understand the fundamental backend principles that apply across programming languages, libraries, or frameworks. I'm excited to teach you everything I know about this powerful framework, and I look forward to seeing you in the course!

Lo que aprenderás

  • Build and run FastAPI applications with endpoints that accept requests and return responses
  • Use SQLModel and SQLAlchemy to define domain models and map them to database tables
  • Use an object-relational mapper (ORM) to perform CRUD (create, read, update, delete) operations with a database
  • Utilize Pydantic to validate and control the shape of data entering and leaving an API
  • Build an authentication and authorization system from scratch with password hashing, JWTs, roles, and scopes

Requisitos

  • Intermediate knowledge of Python (control flow, data types, functions/methods, classes, imports, etc)
  • Terminal experience
  • Text editor (we use Visual Studio Code in the course)