Seven modules on API style and contract, FastAPI, security, error handling, performance, documentation and testing, built around one shared checkout case.
What's inside
Compares REST, GraphQL, and gRPC, then defines resources, operations, and JSON models.
Builds APIs with FastAPI and organizes routes, data models, and validation.
Applies authentication and authorization to protect API operations.
Handles errors, timeouts, and retries to make APIs more resilient.
Measures latency and load, then applies techniques to improve API performance.
Documents the API and improves the experience of developers integrating it.
Verifies the API contract and behavior with automated tests.