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

Try Python Flask API Development 2025

Thử sức với Python Flask API Development 2025

Thử sức với Python Flask API Development 2025

Bắt đầu học phát triển API Flask trong năm 2025

4.4
(37 đánh giá)
373 học viên
Giảng viên
Very Academy
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 919.000đ -95%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
8.5 giờ video
46 bài giảng
1 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 31/05/2026

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

Tự tin xây dựng API Flask có khả năng tương tác với cơ sở dữ liệu.
Triển khai data models bằng SQLAlchemy.
Tạo ra các API endpoints có cấu trúc rõ ràng và được tài liệu hóa đầy đủ.
Sử dụng Docker để quản lý workflow hiệu quả.

Yêu cầu

Không cần kinh nghiệm lập trình, mọi thứ đều được cung cấp sẵn.

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

Dành cho những ai mới bắt đầu với Flask và muốn xây dựng API đầu tiên.

Nội dung khóa học

9 phần • 46 bài giảng
1 Giới thiệu
2 Mã nguồn dự án
1 Cài đặt Python 3.x trên Windows
2 Cài đặt Python 3.x trên Mac
3 Cài đặt Visual Studio Code và cấu hình ban đầu trên Windows
4 Cài đặt Visual Studio Code và cấu hình ban đầu trên Mac
5 Giới thiệu về Virtual Environments
6 Virtual Environments trên Windows
7 Virtual Environments trên MacOS
1 Tạo dự án Flask mới
2 Quản lý dependencies với PIP
3 Thiết lập linting và formatting cho dự án
1 Docker hóa PostgreSQL
2 Sử dụng file biến môi trường trong Docker
3 Tạo script thiết lập PostgreSQL
1 Phương pháp Flask API Factory
2 Cấu trúc dự án Flask API
3 Điểm đầu vào của Flask API
4 Sử dụng biến môi trường
5 Định nghĩa cấu hình dự án dạng module
1 SQLAlchemy ORM
2 Sơ đồ ERD cơ sở dữ liệu
3 Tạo Models - Category
4 Tạo Models - Product
5 Tạo Models - ProductLine
6 Tạo Models - ProductImage
7 Tạo Models - SeasonalEvent
8 Triển khai hệ thống migration Alembic
9 Migrate models lên cơ sở dữ liệu với SQLAlchemy và Alembic
10 Hoàn thiện Models
1 Đăng ký Blueprints
2 Tạo Schemas với Marshmallow
3 Framework API APIFairy
4 Xây dựng Route API - Trả về tất cả danh mục
5 Triển khai tài liệu API Swagger-UI
1 Quy trình chèn dữ liệu
2 Xây dựng Route API - Chèn bản ghi danh mục mới
3 Xây dựng Route API - Chèn bản ghi sản phẩm mới
4 Xây dựng Route API - Chèn bản ghi dòng sản phẩm mới
5 Xây dựng Route API - Chèn bản ghi hình ảnh dòng sản phẩm mới
6 Xây dựng Route API - Thêm bản ghi thuộc tính mới
7 Xây dựng Route API - Thêm sự kiện theo mùa mới
8 Xây dựng Route API - Thêm bản ghi loại sản phẩm mới
9 Xây dựng Route API - Thêm bản ghi giá trị thuộc tính mới
1 Chèn vào bảng liên kết Product, Product Type (bảng Many-to-Many)
2 Chèn vào bảng liên kết ProductLine, Attribute Value (bảng Many-to-Many)

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

Master data creation & management with Flask APIs and a modern workflow


This project-based course delves into building a full-fledged Flask API application, empowering you to effectively create, manage, and serve dynamic data. By the end, you'll have a robust API and the hands-on skills to tackle real-world data-driven projects.


What you'll learn:


  • Solid foundations: Set up your Flask project, manage dependencies, and implement linting for professional code.

  • Modern containerisation: Leverage Docker to manage your database (PostgreSQL) and environment variables seamlessly.

  • Structured & scalable: Follow the Flask API factory approach for a well-organised and maintainable project structure.

  • Powerful ORM: Utilise SQLAlchemy to map your data models to the database and ensure seamless interaction.

  • Data modelling: Design and implement comprehensive models to represent your data entities effectively.

  • Migrations & version control: Manage database schema changes using Alembic for a smoother workflow.

  • API construction: Build robust API endpoints using best practices, blueprints, and data validation with Marshmallow.

  • Comprehensive documentation: Integrate Swagger-UI to provide API documentation for easy consumption and usage.


Course outline:


  • Project Setup: Learn how to set up a Flask project, manage dependencies, and configure linting.

  • Docker & Database: Discover containerisation with Docker, explore PostgreSQL setup, and utilise environment variables effectively.

  • Flask API Factory: Understand the factory approach, implement the project structure, and configure the entry point.

  • Models & Database: Dive into SQLAlchemy, design your data model, create models for various entities, and leverage Alembic for migrations.

  • Building an API: Register blueprints, utilise Marshmallow for data validation, create your first API endpoint, and integrate Swagger-UI documentation.


Who should take this course:


  • Anyone new to Flask looking to take their first steps building an API in Flask.


By the end of this course, you'll be able to:


  • Confidently build Flask APIs that interact with databases.

  • Design and implement data models using SQLAlchemy.

  • Create well-structured and documented API endpoints.

  • Utilise Docker for streamlined workflow management.


Ready to create data-driven solutions with Flask APIs? Enrol 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 Backend Development
Python Backend

Python Backend

Hussein Nasser

4.4 (1232)
33,777
50.000đ -87%
Hiển thị tất cả khoá học Flask
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 😊