FastAPI Complete Course: JWT, SQLModel, Celery & Deployment
Khóa học toàn diện về FastAPI: JWT, SQLModel, Celery & Triển khai
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
Learn how to build, secure, test, and deploy FastAPI applications from scratch! FastAPI is one of the fastest-growing Python frameworks for building high-performance APIs, and mastering it will take your backend development skills to the next level.
This course is designed for beginners and experienced developers alike. Whether you have some experience with Python and APIs or are starting from zero, I will guide you step by step through every concept, making complex topics easy to understand and immediately applicable. Every lecture is hands-on, ensuring you learn by doing, and focuses on creating production-ready, secure, and scalable applications.
You will start with project setup and web server fundamentals, learning how to handle path and query parameters, request bodies, headers, and run your FastAPI server efficiently. You’ll organize your API using FastAPI routers and modular project structure for maintainability.
Dive into databases using SQLModel, including asynchronous CRUD operations, dependency injection, database connection management with lifespan events, and advanced model and schema relationships. You’ll also learn database migrations using Alembic to manage production-ready databases.
Security is a core focus of this course. You will implement JWT authentication with access and refresh tokens, protect endpoints with HTTP Bearer Auth, handle token revocation using Redis, and apply role-based access control (RBAC) to manage user permissions efficiently. Additionally, you’ll build full user account functionality including email verification, password resets, and secure account creation.
Learn how to implement background tasks and asynchronous processing using FastAPI Background Tasks and Celery with Redis, along with monitoring Celery tasks using Flower. Build professional middleware, custom logging, and configure CORS and trusted hosts for robust applications.
You will also master API documentation with SwaggerUI and Redoc, ensuring your APIs are well-documented and developer-friendly. Testing is a key component: gain hands-on experience with unit and integration tests using Pytest, Unittest Mock, and document-driven testing with Schemathesis.
Finally, you’ll deploy your FastAPI application to production environments with PostgreSQL, Celery, Redis, and cloud platforms, creating a fully deployable, real-world application ready for users.
By the end of this course, you will have mastered the complete FastAPI workflow, from project setup to advanced authentication, database management, background processing, testing, and production deployment. These skills are in high demand and can help you advance your career, secure freelance projects, or build your own production-ready applications.
Topics and practical features covered in this course include:
FastAPI project setup and modular structure
Web server basics: path & query parameters, request bodies, headers
Running FastAPI CLI, choosing HTTP clients, and server management
CRUD REST API development with response models, validation, and exception handling
Organizing API paths with routers for scalable architecture
Databases with SQLModel: async setup, connection management, table creation, CRUD operations
Dependency injection for service classes and path handlers
User authentication models, database migrations with Alembic
User account creation: email, password, and secure endpoints
JWT authentication: access & refresh tokens, HTTP Bearer Auth, token renewal, and revocation
Role-Based Access Control (RBAC) and managing user roles
Advanced model and schema relationships (one-to-many, multiple relationships)
Error handling, custom API exceptions, and registering exception handlers
Middleware: custom logging, ASGI middleware, CORS configuration, trusted hosts
Email integration: FastAPI-Mail setup, sending emails, user account verification
Password reset flows and secure handling
Background tasks with FastAPI and Celery + Redis
Celery monitoring using Flower
API documentation with SwaggerUI and Redoc
API testing with Pytest, Unittest Mock, and Schemathesis
Deployment to production with PostgreSQL, Celery, Redis, and cloud platforms
All lectures are hands-on with full source code, and each topic is demonstrated step by step, ensuring you learn by building real-world applications. This course provides everything you need to become a confident, professional FastAPI developer.
Khóa học liên quan
Khám phá thêm các khoá học cùng chủ đề
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
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
Thành thạo MUI (Material UI): Tùy chỉnh Component [2024]
Mastering MUI