|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/hands-on-beginner-fastapi-and-sqlmodel/
课程评论:没有评论
Coursera 课程《Hands-On Beginner FastAPI and SQLModel》是为希望学习如何使用 FastAPI 和 SQLModel 构建现代 Python 异步 API 的初学者设计的。 课程重点在于**实践操作**,通过实际动手编写代码来帮助学习者理解核心概念。所有课程代码均可下载,方便学员日后参考。 **课程内容涵盖:** * **SQLModel 数据库与表创建:** 学习如何使用 SQLModel 设置数据库和定义表结构。 * **FastAPI 路由与函数:** 掌握如何为数据的增、删、改、查(CRUD)操作创建 FastAPI 路由和函数。 * **API 请求与响应定制:** 学习如何自定义 API 的请求和响应模式。 * **SQLModel 验证:** 包括使用正则表达式进行数据验证,以及设计可复用的服务器端验证器。 * **数据排序与搜索:** 学习如何在 SQLModel 中实现数据的排序和搜索功能。 * **虚拟删除与恢复:** 了解如何实现数据的软删除和恢复机制。 * **表连接:** 学习如何处理不同表之间的关联查询。 * **响应列名定制:** 掌握如何自定义 API 响应中列的名称。 * **HTML 表单与数据库交互:** 学习如何使用 HTML 表单与数据库进行交互。 * **VS Code 调试:** 使用 VS Code 的断点功能来调试 FastAPI 和 SQLModel 应用。 **课程目标:** 帮助学员掌握构建支持数据库 CRUD 操作的 API 所需的**所有基础知识**。课程强调**日常应用中常见的数据库操作**,并提供易于查找和使用的可下载代码。 **先修要求:** 无需 FastAPI 或 SQLModel 基础,但要求学员具备**基础 Python 编程知识**。具备 SQL 和数据库基础知识会更有帮助。
FastAPI and SQLModel are two of the hottest new Python technologies for developing asynchronous APIs with modern Python. If you're struggling with wrapping your head around how it all works, this course is for you. Here you'll learn all the most important fundamentals for creating APIs that support all database CRUD operations for adding, editing, and deleting database tables and rows.The course takes a very hands-on approach. That's because most of us learn by doing. All of the code generated in the course is also available for download, so you can use it for future reference when trying to remember how to accomplish some goal. Topics and techniques covered include:· Creating SQLModel databases and tables· Creating FastAPI routes and functions for posting, retrieving, updating, and deleting data· Customizing API Request and Response Schemas· Using RegEx validation in SQLModel· Designing re-usable server-side validators· Sorting and Searching with SQLModel· Working with virtual deletes and undeletes· Joining tables· Customizing column names in responses· Using HTML forms for database interactions· Debug FastAPI and SQLModel with VS Code BreakpointsIn short, the course is all about learning how to do all the common day-to-day operations found in apps that allow users to interact with databases. All the code in the course is also available for download, and organized in a way to help students look up the code they need, on-the-fly, as-needed with minimum fuss.Students need not already be familiar with FastAPI or SQLModel. However, students should already be familiar with basic Python programming. Some familiarity with SQL and databases also helpful.