Introduction
What is FastAPI?
()
What you should know
()
How to work with Codespaces
()
1. REST APIs
What are REST APIs?
()
The HTTP protocol
()
JSON encoding
()
2. FastAPI Basics
Writing handlers
()
Running the server
()
Async handlers
()
Challenge: Info handler
()
Solution: Info handler
()
3. Accepting Data
Query parameters
()
Request body
()
HTML forms
()
Raw data
()
Challenge: Start and stop a VM
()
Solution: Start and stop a VM
()
4. Sending Data
JSON responses
()
Streaming responses
()
Raw data responses
()
Sending errors
()
Challenge: Query logs
()
Solution: Query logs
()
5. Writing Production-Ready Code
Configuration
()
Logging and metrics
()
Security
()
Working with databases
()
Challenge: Make a server production ready
()
Solution: Make a server production ready
()
Conclusion
What's next?
()