Hands-On Beginner FastAPI and SQLModel
Build APIs quickly with Python, FastAPI, and SQLModel. Learn modern API development techniques. Perfect for fast, scalable applications.
Course Content
Hands-On Beginner FastAPI and SQLModel is a beginner-level Udemy course taught by Alan Simpson. It runs 3h 44m, is taught in English, and includes a certificate of completion. Learners rate it 4.6 out of 5 from 35 reviews, with 228 students enrolled. It is a paid course, last updated January 2023.
FastAPI and SQLModel: Build Asynchronous APIs with Python
Looking to build powerful, asynchronous APIs with modern Python? This course dives into the essential fundamentals of FastAPI and SQLModel, two of the most popular Python technologies for API development. If you're finding it challenging to grasp how these tools work together, this hands-on course is designed for you.
You'll master the techniques for creating APIs that seamlessly handle all common database CRUD operations – adding, editing, and deleting data from your database tables and rows. We believe in learning by doing, so expect a very practical, code-focused approach. Plus, all code generated throughout the course is available for download, providing a valuable resource for future projects and quick reference.
Here's a detailed look at the topics and techniques covered:
- SQLModel Database Setup: Learn to create and configure SQLModel databases and tables efficiently.
- FastAPI Routes & Functions: Develop robust FastAPI routes and functions to handle posting, retrieving, updating, and deleting data.
- API Request & Response Schemas: Customize your API's data handling with tailored request and response schemas.
- SQLModel RegEx Validation: Implement powerful data validation using RegEx within SQLModel.
- Reusable Server-Side Validators: Design and utilize reusable validators to ensure data integrity.
- Sorting & Searching: Implement efficient sorting and searching functionalities using SQLModel.
- Virtual Deletes & Undeletes: Learn to manage data with virtual deletes and undeletes for flexible data handling.
- Table Joining: Master joining tables to retrieve related data effectively.
- Custom Column Names: Customize column names in API responses for improved readability.
- HTML Forms for Database Interaction: Integrate HTML forms for user-friendly database interactions.
- Debugging with VS Code: Effectively debug FastAPI and SQLModel applications using VS Code Breakpoints.
This course provides a comprehensive understanding of the day-to-day operations involved in building applications that interact with databases. The downloadable code is organized for easy navigation, allowing you to quickly find and utilize specific code snippets as needed.
Prerequisites: While no prior experience with FastAPI or SQLModel is required, a basic understanding of Python programming is essential. Familiarity with SQL and databases is also beneficial.
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.