Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

The FastAPI SuperGuide: Create 3 Real-World FastAPI Apps

FastAPI SuperGuide: Xây dựng 3 Ứng dụng FastAPI Thực tế

FastAPI SuperGuide: Xây dựng 3 Ứng dụng FastAPI Thực tế

Học FastAPI, Python, REST APIs, Bootstrap, SQLite, Jinja và bảo mật web; tất cả thông qua việc xây dựng 3 ứng dụng web full-stack hoàn chỉnh!

4.5
(280 đánh giá)
3,064 học viên
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
7.0 giờ video
83 bài giảng
5 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Xây dựng 3 ứng dụng full-stack bằng FastAPI trong Python theo các phương pháp chuẩn công nghiệp
Sử dụng Jinja2, Bootstrap, HTML và CSS để tạo front-end template với control flow (điều kiện, vòng lặp, v.v.)
Hiểu sâu về kiến trúc REST API và cách triển khai REST APIs trong FastAPI
Sử dụng database browsers và SQLAlchemy để tạo, quản lý, cập nhật và phân tích cơ sở dữ liệu SQLite
Tạo logic xác thực và đăng ký người dùng với xử lý lỗi
Hiểu HTTP, cách hoạt động và cách thực hiện request, bao gồm methods, headers, bodies và status codes
Định dạng dữ liệu lập trình để tích hợp vào trang front-end
Phân tích HTTP requests trong Python và trích xuất dữ liệu liên quan, bao gồm parameters, form data và request bodies
Xác thực HTTP routes và triển khai xử lý lỗi trong REST APIs và ứng dụng full-stack
Hiểu JSON và cách phân tích cũng như trả về JSON bằng Python
Sử dụng Pydantic và type hints để tạo data models và schemas trong Python
Hash và xác minh mật khẩu trong Python
Tạo OAuth2 flows và sử dụng chúng để xác thực người dùng
Tạo, quản lý và cập nhật JSON Web Tokens
Tạo database models trong Python
Sử dụng Alembic để migrate và cập nhật cơ sở dữ liệu
Sử dụng SQLAlchemy để viết chức năng tương tác với cơ sở dữ liệu trong Python
Học các phương pháp và quy ước phát triển web tốt nhất

Yêu cầu

Có kinh nghiệm cơ bản với Python
Quen thuộc với HTML và CSS là lợi thế, nhưng không bắt buộc

Đối tượng phù hợp

Dành cho những ai muốn xây dựng ứng dụng full-stack và REST APIs với Python và các framework Python

Nội dung khóa học

6 phần • 71 bài giảng
1 Trước khi bắt đầu
2 Các dự án bạn sẽ hoàn thành
3 Tôi sẽ học gì trong khóa này?
4 Cài đặt thư viện & phần mềm
5 Nơi tìm file dự án
1 Lưu ý về phần tiếp theo
2 Tài nguyên dự án
3 REST, CRUD và HTTP requests
4 FastAPI là gì?
5 Type hints
6 Pydantic models
7 BÀI TẬP CODE: Thiết kế mô hình bài đăng mạng xã hội với Pydantic
8 BÀI TẬP CODE (LỜI GIẢI): Thiết kế mô hình bài đăng mạng xã hội với Pydantic
9 Virtual environments
1 Xem trước dự án - Trình xem Thông tin Xe hơi
2 Tài nguyên dự án
3 Thiết lập ứng dụng
4 Tạo mô hình xe hơi
5 Path lấy tất cả xe
6 Lấy xe theo ID
7 Thêm xe mới
8 Cập nhật thông tin xe
9 Xóa xe
10 Kiểm tra tiến độ khóa học
11 Thiết lập HTML templates
12 Tạo HTML response đầu tiên
13 Header & footer components
14 Thiết kế Navbar
15 Tạo trang chính
16 Lưu ý về bài giảng tiếp theo
17 Tạo car component
18 Thêm tính năng tìm kiếm
19 Tính năng tạo xe mới
20 Tính năng chỉnh sửa xe
21 Tính năng xóa xe
1 Xem trước dự án - Bảng tin Mạng xã hội
2 Tài nguyên dự án
3 Thiết lập ứng dụng
4 Tạo models
5 Tạo trang chủ cơ bản
6 Tạo trang đăng nhập
7 Cơ chế hash mật khẩu
8 Lưu ý về bài giảng tiếp theo
9 Cơ chế đăng nhập: Xác minh người dùng
10 Cơ chế đăng nhập: Route xử lý dữ liệu đăng nhập
11 Cơ chế đăng xuất
12 Trang đăng ký
13 Cơ chế đăng ký
14 Hiển thị thông tin người dùng
15 Trang thông báo
16 Sửa lỗi & tái cấu trúc code
1 Xem trước dự án - Danh sách Việc cần làm
2 Tài nguyên dự án
3 Thiết lập ứng dụng
4 Tạo header, footer và navbar components
5 Tạo trang chủ
6 Thiết lập cơ sở dữ liệu
7 Tạo Pydantic models (schemas)
8 Tạo database models
9 Thiết lập ứng dụng với Database
10 DB migrations & điều chỉnh với Alembic
11 Trang & cơ chế đăng nhập: Thiết lập & CRUD
12 Trang & cơ chế đăng nhập: Xác thực
13 Trang & cơ chế đăng ký: Thiết lập & CRUD
14 Trang & cơ chế đăng ký: Xác thực
15 Cơ chế đăng xuất
16 Trang Todo: Liệt kê công việc
17 Trang Todo: Thêm công việc
18 Trang Todo: Hoàn thành công việc
1 Tạm biệt
2 Bạn đã hoàn thành! Bước tiếp theo là gì?

Giới thiệu khóa học

There is a lot that goes into full stack web development.

With databases, REST architecture, HTTP requests, OAuth2, and all the other protocols that go alongside full stack web development, it can be hard to learn, especially when coupled with a complicated framework like FastAPI and the nuanced parts of Python.

This course aims to eliminate that confusion by teaching FastAPI from the very basics to the advanced level. It combines theory and practical use to give you everything you need to learn FastAPI, all while allowing you to build 3 full-stack web applications written primarily in Python along the way.

Throughout the course, you will:

  • Create 3 full-stack applications using FastAPI in Python and industry-standard practices

  • Use Jinja2, Bootstrap, HTML, and CSS to create front-end templates with control flow (conditionals, loops, etc.)

  • Fundamentally understand REST API architecture and how to implement REST APIs in FastAPI

  • Use database browsers and SQLAlchemy to create, manage, update, and parse SQLite databases

  • Create user authentication and registration logic with error handling

  • Understand HTTP, how it works, and how to make requests, including methods, headers, bodies, and status codes

  • Format programmatic data to include in front-end pages

  • Parse HTTP requests in python and extract relevant data, including parameters, form data, and request bodies

  • Validate HTTP routes and implement error handling in REST APIs and full-stack applications

  • Understand JSON and how to both parse and return it using Python

  • Use Pydantic and type hints to create data models and schemas in Python

  • Hash and verify passwords in Python

  • Create OAuth2 flows and use them to authenticate users using FastAPI logic

  • Create, manage, and update JSON Web Tokens

  • Create database models in Python and use them with FastAPI routes

  • Use Alembic to migrate and update databases

  • Use SQLAlchemy to write functionality to interact with databases in Python

  • Learn best web development practices and conventions

  • And much more!

And the best part is; you don't have to know anything about FastAPI, web routing, security, or any of the above. All you need is a basic understanding of Python and some familiarity with HTML and CSS, and you will be on your way to becoming a master of full stack web development in Python and FastAPI!


The curriculum takes a comprehensive look at both FastAPI and the technologies needed to build it. Before we start building any apps, we take a look at the basics of Python, including:

  • Type hints

  • Pydantic models

  • Nuanced Python features that make development much easier, such as virtual environments.

At the end of section, there is a coding exercise and quiz that incorporate all content covered to ensure understanding.


Once the basics are covered, we start by building the first of three full stack web applications. In the first app, we focus on the basics of FastAPI by teaching:

  • REST API architecture

  • Jinja2

  • Bootstrap

  • HTML templating

  • The foundational FastAPI skills needed to get a basic application up and running.

Along the way, we will be building a car information viewer that lets you view, search, create, edit, and delete information about cars, all delivered in a clean and readable codebase using Python and FastAPI.

The home page contains a list of all the cars in our database, which is neatly formatted and displayed to the user in a gridlike manner.

The navbar contains working links to the home page, a form to create a car (more on that later!), and an embedded search bar which, when used, takes you to a search page.

The search form uses IDs to search the database for cars, and displays them to the user. It also contains error handling in case an invalid ID is passed to the user.

Each car on the page has edit and delete buttons, with the edit button taking you to an auto-filled form on a separate page to edit the data, and the delete button passing a request to a hidden route that removes it from the database.

The create form is identical to the edit form, except it has no auto-filled data. When completed, it will redirect to the home page, where the newly created car will be available to view.


The second app focuses on web security, incorporating:

  • OAuth2 flows and schemes

  • Password hashing

  • JSON web tokens

  • FastAPI-specific authentication systems

  • And industry-standard practices into a main FastAPI application written in Python.

This will be built around a social media feed that uses login and registration functionality to display user information under a protected page.

The home page is available to everyone, and contains some basic text prompting the user to login. The navbar contains links to a login, registration, and logout page, all with custom error messaging to ensure new users are unique and attempted logins are properly authenticated.

The protected page contains data about the user which is displayed in a responsive grid to the user. This displays user information, friends, and notifications.

The logout feature removes any of the authentication applied to the web session and redirects to the homepage.


The third app focuses on databases, using SQLite and SQLAlchemy to build and model databases in Python and FastAPI. You will also learn to use Alembic in combination with SQLAlchemy to perform database migrations and updates.

These topics will be built around a todo list that combines user login with SQLite databases to create a full stack web application, incorporating all the elements of FastAPI, Python, OAuth2, and all the other practices learned up to that point.

Similar to the second app, the homepage is available to everyone and prompts the user to log in.

The login, registration, and logout features use the same FastAPI logic to handle authentication as the previous app, except this time, data is being pulled from a real SQLite database. This is combined with past knowledge to create authentication that works with FastAPI.

The todo page contains a list of all the tasks that pertain to the user. At the bottom of the list is a form that lets you add a new task, which sends a request to a route that handles parsing and adding the task to the user's list of tasks through advanced, FastAPI-specific Python logic.


So, are you ready to start crushing web development and building full stack web applications in FastAPI and Python? Enroll and start your FastAPI journey today!

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Api Development
Hiển thị tất cả khoá học Fastapi
Hiển thị tất cả khoá học Python
Hiển thị tất cả khoá học Web Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊