FastAPI · 15 problems · 2 project ideas
Problem sheet
Beginner
Start with the essentials3 problemsAnatomy of an HTTP Request
http · requests · headers
HTTP Responses and Status Codes
http · responses · status-codes
URLs, Paths and Query Strings
urls · query-strings · percent-encoding
Intermediate
Connect the concepts8 problemsJSON Request Bodies and Validation
json · validation · content-type
A Router by Hand
routing · path-parameters · decorators
async and await with asyncio
asyncio · async-await · concurrency
A Minimal ASGI Application
asgi · async · http
First FastAPI Routes
fastapi · routing · path-parameters
Query and Path Parameters with Validation
fastapi · query-parameters · validation
Request Bodies with Pydantic
pydantic · request-body · validation
Handling Errors in FastAPI
fastapi · errors · httpexception
Advanced
Stretch your understanding4 problemsResponse Models and Status Codes
fastapi · response-model · status-codes
Dependencies and Dependency Overrides
fastapi · dependency-injection · authentication
Async Endpoints and External Services
fastapi · async · timeouts
Testing an API
testing · api-testing · testclient
Project ideas
Ungraded briefs to build on your own2 project ideasURL Shortener API
Project idea · web-api · fastapi · authentication
Notes or Event-RSVP API
Project idea · web-api · fastapi · crud