Packt
Intermediate Backend Development with FastAPI

通过 Coursera Plus 获取 10,000 多门课程的 Accessibility

Packt

Intermediate Backend Development with FastAPI

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Master user authentication and authorization using OAuth2, JWT, and secure password management.

  • Implement many-to-many relationships and complex data models in SQL databases with SQLModel.

  • Integrate external services like email and SMS to manage user notifications and confirmations.

  • Efficiently handle background tasks using Celery for time-consuming operations in FastAPI.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

December 2025

作业

18 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

积累特定领域的专业知识

本课程是 Ultimate Guide to FastAPI and Backend Development 专项课程 专项课程的一部分
在注册此课程时,您还会同时注册此专项课程。
  • 向行业专家学习新概念
  • 获得对主题或工具的基础理解
  • 通过实践项目培养工作相关技能
  • 获得可共享的职业证书

该课程共有16个模块

In this module, we will guide you through the user registration process in FastAPI. You will learn how to create a seller model, implement a signup endpoint, and securely store user passwords using hashing. Additionally, we’ll cover the architecture for handling user registration in a scalable way.

涵盖的内容

5个视频2篇阅读材料1个作业

In this module, we will cover the complete login process in FastAPI using OAuth2 and JWT. You will learn how to manage secure user authentication, create login forms, and decode JWT tokens to identify users. This section also explores integrating external authentication providers.

涵盖的内容

12个视频1个作业

In this module, we will explore how to implement a secure logout system in FastAPI. You'll learn to invalidate tokens, use Redis for session management, and add a blacklist to prevent reuse of expired tokens. These techniques ensure secure session management in your app.

涵盖的内容

4个视频1个作业

In this module, we dive into SQL relationships and relational database design. You will learn how to define foreign keys, use UUIDs for primary keys, and structure your database to create meaningful relationships between entities. Additionally, we’ll explore techniques for debugging SQL queries and ensuring data integrity.

涵盖的内容

5个视频1个作业

In this module, we will show you how to manage database schema changes using Alembic. You’ll learn to configure Alembic, create migration scripts, and use autogeneration to simplify the database update process. These skills are essential for maintaining version control over your database schema.

涵盖的内容

3个视频1个作业

In this module, you’ll learn how to integrate delivery partner functionality into your FastAPI application. We’ll cover everything from creating a delivery partner model in your database to managing partner data through API endpoints and a service layer. You’ll also gain troubleshooting tips for common integration issues.

涵盖的内容

6个视频1个作业

In this module, we will explore shipment events and how to build an event-driven system for tracking shipments. You’ll create an event model, structure a service layer for shipment logic, and implement a system to manage and cancel shipment events. Learn how to debug and optimize shipment event endpoints as well.

涵盖的内容

6个视频1个作业

In this module, we will show you how to integrate email notifications in your FastAPI application. You will learn how to configure an email client, send asynchronous emails using background tasks, and create dynamic email templates to keep your users informed. This section is crucial for apps requiring communication like shipment notifications.

涵盖的内容

4个视频1个作业

In this module, you’ll learn how to return custom responses, including HTML pages and dynamic content, from your FastAPI API. We’ll cover how to use templates for generating HTML responses and how to fine-tune your API response format to meet specific client needs.

涵盖的内容

3个视频1个作业

In this module, we will teach you how to implement an email confirmation system in FastAPI. You’ll learn how to securely generate confirmation tokens, send registration emails, and create verification endpoints to handle the process of confirming user email addresses.

涵盖的内容

4个视频1个作业

In this module, we will guide you through creating a password reset feature in FastAPI. You will learn how to handle the reset process through secure links, validate new passwords, and update user credentials to help users regain access to their accounts securely.

涵盖的内容

3个视频1个作业

In this module, we’ll teach you how to integrate SMS services like Twilio into your FastAPI app. You’ll learn to send SMS notifications, handle user verifications via SMS codes, and set up Twilio for efficient communication with users, improving authentication and notification systems.

涵盖的内容

4个视频1个作业

In this module, you’ll learn how to integrate a review system into your FastAPI application. You’ll define a review model, create review links, and manage user feedback through API endpoints, enabling a user-driven evaluation of your services or products.

涵盖的内容

5个视频1个作业

In this module, you will explore the Celery task queue and how to integrate it into your FastAPI app to handle background tasks. You’ll set up workers, define tasks, and use Flower to monitor and manage asynchronous tasks, ensuring that your app remains responsive.

涵盖的内容

4个视频1个作业

In this module, we will explore many-to-many relationships in FastAPI, using SQLModel to model complex relationships between entities. You’ll learn how to manage links, use tags for filtering data, and effectively query many-to-many relationships for better data management.

涵盖的内容

5个视频1个作业

In this module, we will cover how to manage exceptions and errors in FastAPI. You will learn how to handle common exceptions, add custom handlers, and integrate non-standard exceptions to improve the robustness and reliability of your API.

涵盖的内容

3个视频1篇阅读材料3个作业

获得职业证书

将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。

位教师

Packt - Course Instructors
Packt
1,239 门课程296,477 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题