Mastering REST APIs with FastAPI
Làm chủ REST API với FastAPI
Bạn sẽ học được gì
Yêu cầu
Đối tượng phù hợp
Nội dung khóa học
Giới thiệu khóa học
With FastAPI you can build complete, high-performance APIs in days, and adding new features is blazing-fast. That's why FastAPI has become so popular in recent years.
In this course, I'll show you how to go from a blank slate to a complete, finished FastAPI application.
The project
We'll build social media API with user authentication, email sending, and file upload. Users will be able to register and log in using Bearer (JWT) tokens. They will be able to create posts, leave comments, and like existing posts.
We'll use Pydantic for data validation and encode/databases as our database connectivity library.
Advanced knowledge
Use background tasks in FastAPI to improve performance when running slow code, such as when sending emails (covered in the course) or when making slow requests to third party APIs (also covered).
Throughout the course we use an async database library, again to maximise performance, which is nonetheless straightforward to use. You'll learn about the different types of data relationships and how to model them, including many-to-many relationships.
You'll learn how to handle file uploads and what to do with the uploaded files, so you don't run out of server space.
Complete API testing
Finally, 100% of the code in this course has tests. You'll use pytest extensively to write integration and unit tests for the API. You'll learn about pytest fixtures, parametrization, and testing conventions.
Part of real-world development means logging! There's a lot of logging knowledge in this course, including how to set up the logging module properly, when to make logging calls, and where to store logs when your application is deployed.
Deployments
Of course, I'll show you how to deploy your FastAPI app using popular service Render. You can deploy your FastAPI app for free, but I'll also show you some paid options for improved performance.
We'll also look at application management, error handling with Sentry, and CI/CD with GitHub Actions.
If you use or want to use FastAPI, this course contains everything you need to develop complete, real-world APIs.
Let's get started. I'll see you on the inside!
Khóa học liên quan
Khám phá thêm các khoá học cùng chủ đề
Khóa Học Cấp Tốc Về API: Cách Tạo, Kiểm Thử & Tài Liệu Hóa API
Tarek Roshdy
Khóa học lập trình web Full-Stack với Python và Django cho người mới bắt đầu
Bluelime Learning Solutions
Kiến trúc Phần mềm: Thiết kế REST API - Hướng dẫn Toàn diện
Memi Lavi
Khóa Học MySQL Toàn Diện: Từ Người Mới Bắt Đầu Đến Chuyên Gia SQL
Colt Steele
Spring Boot 4, Spring 7 & Hibernate cho Người Mới Bắt Đầu
Chad Darby
Khóa Học Node.js Toàn Diện (Phiên bản thứ 3)
Andrew Mead
NodeJS - Hướng dẫn Toàn diện (MVC, REST APIs, GraphQL, Deno)
Academind by Maximilian Schwarzmüller
Java Spring Framework, Spring Boot, Spring AI - Gen AI
Navin Reddy
MongoDB - Hướng dẫn Toàn diện cho Nhà phát triển
Academind by Maximilian Schwarzmüller
Khóa học FastAPI toàn diện từ cơ bản đến nâng cao
Catalin Stefan
Chatbot - Hướng Dẫn Phát Triển 2026 (Cơ Bản + Nâng Cao)
Eric Roby
Khóa Học FastAPI Toàn Tập Với Xác Thực OAuth & JWT
Ashutosh Pawar
FastAPI SuperGuide: Xây dựng 3 Ứng dụng FastAPI Thực tế
VideoLab by Jad Khalili
Hướng Dẫn Toàn Diện Về FastAPI và Phát Triển Backend
Rahul Mula
Học Pydantic: Xác thực Dữ liệu Nâng cao trong Python
Andy Bek
Khóa Học Python Toàn Diện: Từ Con Số 0 Đến Chuyên Gia
Jose Portilla
Machine Learning A-Z: AI, Python & R + Giải thưởng ChatGPT [2026]
Kirill Eremenko
Lập trình Python để tự động hóa những việc nhàm chán
Al Sweigart
Khóa Học Cấp Tốc Python cho Khoa Học Dữ Liệu và Máy Học
Jose Portilla
Khóa Học Khoa Học Dữ Liệu: Bootcamp Khoa Học Dữ Liệu Toàn Diện 2026
365 Careers
Deep Learning A-Z 2026: Mạng Nơ-ron, AI & Giải thưởng ChatGPT
Kirill Eremenko
Machine Learning & Deep Learning với Python & R
Start-Tech Academy