Table of Contents
Preface
1
First Steps with FastAPI
Technical requirements
Setting up your development environment
Getting ready
How to do it...
Creating a new FastAPI project
Getting ready
How to do it...
There’s more...
See also
Understanding FastAPI basics
How to do it…
See also
Defining your first API endpoint
Getting ready
How to do it...
How it works…
Working with path and query parameters
Getting ready
How to do it…
How it works…
See also
Defining and using request and response models
Getting ready
How to do it...
See also
Handling errors and exceptions
How to do it…
There’s more…
See also
2
Working with Data
Technical requirements
Setting up SQL databases
Getting ready
How to do it…
Establishing a database connection
See also
Understanding ...
Get FastAPI Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.