К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Mastering REST APIs with FastAPI · LearnSpace
Назад в каталог
courseraПрограммирование

Mastering REST APIs with FastAPI

Курс от Packt
Средний≈ 15 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this comprehensive course, you'll master the art of building robust and efficient REST APIs using FastAPI, a modern, fast (high-performance) web framework for Python. You'll learn how to build an entire social media API, implement user authentication, integrate databases, manage background tasks, and deploy your applications in production. By the end of the course, you'll be able to design and deploy production-grade REST APIs with FastAPI, ensuring your skills are sharp and industry-ready. Throughout the course, you will start with foundational concepts, such as what APIs are and how REST APIs work. Then, you'll dive deeper into the FastAPI framework and how to build efficient, maintainable APIs with it. The course includes hands-on projects where you will work on creating social media API endpoints, integrating databases with FastAPI, adding logging and error tracking, handling user authentication, and working with background tasks. In addition, you will explore advanced topics such as integrating third-party services, like DeepAI for image generation, and learn how to deploy your FastAPI application to platforms like Render. With real-world projects and a focus on industry best practices, you will gain valuable experience to take into your future development work. This course is perfect for aspiring backend developers and those familiar with Python who wish to deepen their knowledge of REST API design and implementation using FastAPI.

Навыки, которые вы освоите

Application Programming Interface (API)Restful APIContinuous IntegrationAuthenticationsApplication DeploymentUser AccountsAPI TestingEmail AutomationDebuggingWeb ServicesCloud DeploymentCloud APIWeb FrameworksTest Script DevelopmentUnit TestingTest ToolsAPI DesignContinuous DeploymentOperational DatabasesUser Provisioning

Программа курса

11 модулей · 99 учебных материалов

01Course Introduction5 материалов

Course Introduction

CommunityВидеоFull Course ResourceЧтениеWelcome to this course!ВидеоWhat is an API?Видео

Учитесь у экспертов

Packt - Course Instructors

Преподаватель курса

Mastering REST APIs with FastAPI
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 15 ч

11 модулей

Язык: Английский

Субтитры: Казахский

Часть программы вашего университета
What is REST?Видео
02Working with FastAPI9 материалов

Working with FastAPI

Introduction to this sectionВидеоYour First FastAPI AppВидеоInitial App SetupВидеоLinting, formatting and sorting importsВидеоOur social media API: adding postsВидеоSplitting our API into files with APIRouterВидеоAdding comments to the social media APIВидеоBuilding Your First API with FastAPIDIALOGUEWorking with FastAPI - AssessmentЗадание
03Introduction to pytest8 материалов

Introduction to pytest

Introduction to the pytest sectionВидеоThe basics of pytestВидеоGetting started with FastAPI testsВидеоCreating posts in our testsВидеоAdding tests for postsВидеоAdding comments testsВидеоTesting FastAPI Applications with PytestDIALOGUEIntroduction to pytest - AssessmentЗадание
04Working with async databases11 материалов

Working with async databases

Introduction to working with databasesВидеоInstalling requirements for async databases in FastAPIВидеоCreating a config file using PydanticВидеоDifferent configurations per environmentВидеоConfig caching and how to get the config objectВидеоAsync database setup with FastAPIВидеоDatabase connection with lifespan events in FastAPIВидеоRun your FastAPI test in 'test' modeВидеоUsing a database in our FastAPI routerВидеоUsing Async with Databases in FastAPIDIALOGUEWorking with async databases - AssessmentЗадание
05Logging in FastAPI applications16 материалов

Logging in FastAPI applications

Introduction to loggingВидеоPython logging: loggers, handlers, and formattersВидеоLogger hierarchies and nameВидеоAdding Logging Configuration for FastAPI ApplicationsВидеоHow to configure multiple loggers in the logging moduleВидеоAdding File Handlers for Saving LogsВидеоAdd logging to your FastAPI endpointsВидеоPython logging: filters and custom filtersВидеоLogging HTTPExceptions with an Exception HandlerВидеоIdentifying logs from the same request: Correlation IDВидеоAdding JSON-formatted log filesВидеоObfuscating email addresses in logs using a custom filterВидеоAdding Logtail for Cloud Logging in FastAPIВидеоEnabling Logtail only in productionВидеоConfiguring Python LoggingDIALOGUELogging in FastAPI applications - AssessmentЗадание
06User authentication with FastAPI14 материалов

User authentication with FastAPI

Introduction to user authenticationВидеоInstalling requirements and, what are JWTs?ВидеоAdding a users table and retrieving users by emailВидеоAdding user registration and testsВидеоAdding tests for the user registration endpointВидеоHow to hash passwords with passlibВидеоGenerate the access tokenВидеоRetrieve the current user with their tokenВидеоUse the current user in the API routerВидеоDependency injection: getting the userВидеоAdding user relationships to other tablesВидео(Optional) OAuth Password Bearer and Swagger AuthВидеоUnderstanding Bearer Tokens in FastAPIDIALOGUEUser authentication with FastAPI - AssessmentЗадание
07Many-to-many relationships6 материалов

Many-to-many relationships

Adding a table for post likesВидеоAdding an API route to like postsВидеоExtracting reusable queries with SQLAlchemyВидеоQuery string arguments and data sorting with EnumВидеоImplementing a Like Feature in a DatabaseDIALOGUEMany-to-many relationships - AssessmentЗадание
08User email confirmation10 материалов

User email confirmation

Creating the confirmation tokenВидеоDecoding the confirmation tokenВидеоAdding a user confirmation endpointВидеоRequiring user confirmation for authenticated requestsВидеоMailgun set-up and configurationВидеоSending emails and testing with PythonВидеоSending a confirmation email on registrationВидеоSending emails with background tasksВидеоImplementing JWT Tokens for User ConfirmationDIALOGUEUser email confirmation - AssessmentЗадание
09File Uploads with FastAPI6 материалов

File Uploads with FastAPI

Our configuration for Backblaze B2ВидеоInternal library for Backblaze B2ВидеоWriting our file upload endpointВидеоWriting tests for file uploadВидеоUnderstanding File Uploads with FastAPI and B2 StorageDIALOGUEFile Uploads with FastAPI - AssessmentЗадание
10Background Tasks for Image Generation6 материалов

Background Tasks for Image Generation

Model and database changes for image generationВидеоConfiguration for DeepAI, our third-party serviceВидеоGenerating images using background tasksВидеоExecuting image generation in our FastAPI endpointВидеоIntegrating Third-Party APIs for Image GenerationDIALOGUEBackground Tasks for Image Generation - AssessmentЗадание
11FastAPI Deployments and Application Management8 материалов

FastAPI Deployments and Application Management

Updating our project to Pydantic v2ВидеоDeploy a FastAPI app to RenderВидеоAdd a free PostgreSQL database to your FastAPI appВидеоError management with Sentry for FastAPI appsВидеоContinuous Integration with GitHub Actions for Python appsВидеоFastAPI Deployments and Application Management - AssessmentЗаданиеFull Course Practice AssessmentЗаданиеFull Course AssessmentЗадание