Packt
Introduction to FastAPI and Backend Development Fundamentals

Unlock access to 10,000+ courses with Coursera Plus. Start 7-Day free trial.

Packt

Introduction to FastAPI and Backend Development Fundamentals

Included with Coursera Plus

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

  • Learn how to build scalable and efficient REST APIs using FastAPI.

  • Understand how to integrate databases like SQLite, PostgreSQL, and SQLModel into your FastAPI applications.

  • Master advanced concepts such as async programming to build high-performance backend systems.

  • Learn to handle HTTP methods, exceptions, and parameters in a robust API design.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

December 2025

Assessments

11 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 10 modules in this course

In this module, we will lay the foundation for backend development with FastAPI. You’ll explore what REST APIs are, why FastAPI is a powerful choice for modern applications, and how this course is structured. This introduction ensures you understand the big picture before diving into hands-on development.

What's included

4 videos2 readings

In this module, we will walk you through setting up your development environment and getting your first FastAPI project up and running. You’ll learn how to install FastAPI, create a basic API endpoint, and interact with the built-in interactive documentation. By the end, you’ll have your development tools ready to build real applications.

What's included

4 videos1 assignment

In this module, we will dive deeper into route handling using path parameters and decorators. You'll learn how to create dynamic routes, use type hints, and understand route ordering in FastAPI. You'll also take your first steps into backend data storage by connecting a simple database.

What's included

5 videos1 assignment

In this module, we will expand your API capabilities by introducing query parameters. You'll learn how to filter data, manage HTTP exceptions, and receive data through POST requests and request bodies. This section teaches you how to build more flexible and powerful endpoints in FastAPI.

What's included

5 videos1 assignment

In this module, we will implement full backend functionality using CRUD operations. You'll explore how to update resources using PUT and PATCH, and safely delete records using the DELETE method. These operations are the backbone of any RESTful API.

What's included

3 videos1 assignment

In this module, we will harness the full potential of Pydantic models in FastAPI. You’ll define input and output models, enforce validation rules, and explore advanced features like Enums and response schemas. By the end, your APIs will be more reliable, secure, and developer-friendly.

What's included

6 videos1 assignment

In this module, we will connect FastAPI with a SQL database, starting with SQLite. You'll learn how to insert, retrieve, and update data, while understanding key database concepts like primary keys and query parameters. This forms the backbone for building data-driven applications.

What's included

10 videos1 assignment

In this module, we will explore SQLModel, a hybrid ORM and data modeling tool designed for FastAPI. You’ll learn how to define models, manage connections, and structure your application with dependency injection. SQLModel helps bridge the gap between your database and your API.

What's included

9 videos1 assignment

In this module, we will introduce asynchronous programming with Python’s asyncio and its application in FastAPI. You'll learn to write async functions, handle multiple tasks concurrently, and improve API responsiveness. This section is key to building scalable and high-performance backends.

What's included

4 videos1 assignment

In this module, we will transition from SQLite to PostgreSQL for production-ready database handling. You’ll learn how to manage configurations, implement asynchronous sessions, and structure your application for maintainability. This section prepares you for real-world backend deployment.

What's included

8 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