Packt

Building REST APIs with FastAPI using Python | Hands-On

Packt

Building REST APIs with FastAPI using Python | Hands-On

Included with Coursera PlusLearn more

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

Recommended experience

5 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

5 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Design RESTful endpoints with FastAPI and Python

  • Handle path, query, and request-body parameters

  • Secure routes with JWT tokens and session management

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

December 2026

Assessments

9 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

There are 8 modules in this course

This module provides an overview of the course structure, key learning goals, and the practical projects that will be explored using FastAPI. Learners will gain clarity on the skills they will develop and the path they will follow throughout the course.

What's included

1 video1 assignment

This module introduces the fundamental concepts of APIs and REST principles, followed by an in-depth look at FastAPI as a modern Python framework. Learners will gain practical skills in setting up and running a FastAPI server, understanding how APIs facilitate application communication, and differentiating FastAPI from traditional REST approaches.

What's included

6 videos1 assignment

This module covers the fundamentals of building and managing API endpoints, including handling different HTTP methods, using path and query parameters, validating data with Pydantic models, and implementing proper response structures and error handling.

What's included

8 videos1 assignment

This module covers the real-time use of an AI resume parser, including its data flow, API integration, and implementation steps. Learners will gain hands-on experience with setting up and testing an AI-powered system using FastAPI and language models like OpenAI or Gemini.

What's included

4 videos1 assignment

This module covers the integration of databases with FastAPI, including setting up SQLite, using SQLAlchemy, and performing CRUD operations. Learners will gain hands-on experience in connecting API endpoints to database actions and managing data persistence.

What's included

5 videos1 assignment

This module covers essential techniques for securing user authentication, including password hashing, token generation, and session management. Learners will gain hands-on experience implementing secure practices in web applications using tools like bcrypt and JWT. The content focuses on protecting user data and controlling access to protected resources.

What's included

5 videos1 assignment

This module guides learners through the process of building a secure authentication API, covering user registration, login, route protection, and API testing. It integrates database management, endpoint development, and security best practices. Learners will gain hands-on experience in implementing a full-featured authentication system.

What's included

4 videos1 assignment

This module guides learners through the process of deploying a FastAPI application, ensuring external accessibility of its endpoints. It also reviews the complete API development lifecycle and provides actionable next steps for further learning.

What's included

2 videos2 assignments

Instructor

Packt - Course Instructors
Packt
2,690 Courses795,495 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."

What brings you to Coursera today?

Frequently asked questions