Using the Openapi Schema with Postman
Course Content
0 / 61 completedProject Overview
Project Requirements
What You Should Know
Introducing FastAPI
Course Overview
Starting a FastAPI Project
Adding Our First Operation
Exploring the Auto-generated Documentation
What if the Project Doesnt Run
Async vs. Non-Async Functions
How FastAPI Runs Your Code
Review
Running the Project
Serving Car Data
Adding an Optional Query Parameter
Typed Parameters
Get by id - Path Parameters
Adding a Parameter
Debugging with Visual Studio Code
Debugging with Pycharm
Returning 404 Not Found
Review
Creating a Data Model with Pydantic
More About Pydantic Fields
Loading Data from JSON
Using Pydantic Models in Read-only Operations
Recap - HTTP Methods
Adding New Objects with POST
The Need for Separate Input and Output Models
Implementing PUT and DELETE
Adding Example Data
Nested Models
Using the Openapi Schema with Postman
Review
Creating a Model Class
Creating the Database
Inserting a New Car
Querying the Database
Implementing GET, PUT, and DELETE
Injecting the Session
Introducing SQLModel
Working with Relations
Reorganizing the Code with APIRouter
Serving a Web Page
Dynamic HTML with Jinja
Status Codes and Error Handling
Processing Form Data
Headers and Cookies
Middleware
CORS Middleware
Adding a User Model
Column Settings - Unique and Index
Password Hashing
HTTP Basic Authentication
OAuth 2
Review
Unit Testing
Deployment Options
Deploying on Linux
HTTPS
Resources