Packt
Intermediate Backend Development with FastAPI

Unlock access to 10,000+ courses with Coursera Plus

Packt

Intermediate Backend Development with FastAPI

Included with Coursera Plus

Learn more

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • 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.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

December 2025

Assessments

18 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Ultimate Guide to FastAPI and Backend Development Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 16 modules in this course

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.

What's included

5 videos2 readings1 assignment

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.

What's included

12 videos1 assignment

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.

What's included

4 videos1 assignment

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.

What's included

5 videos1 assignment

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.

What's included

3 videos1 assignment

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.

What's included

6 videos1 assignment

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.

What's included

6 videos1 assignment

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.

What's included

4 videos1 assignment

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.

What's included

3 videos1 assignment

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.

What's included

4 videos1 assignment

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.

What's included

3 videos1 assignment

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.

What's included

4 videos1 assignment

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.

What's included

5 videos1 assignment

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.

What's included

4 videos1 assignment

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.

What's included

5 videos1 assignment

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.

What's included

3 videos1 reading3 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
1,194 Courses293,786 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions