Module · 5 lessons

Getting Started with FastAPI

Build and run your first FastAPI app, explore the automatic interactive docs, and handle path and query parameters — then combine them into a small read-only API.

At a glance

Level
Beginner
Lessons
5 lessons
Time to complete
1 week
Cost
Free forever · no sign-up

Welcome to Getting Started with FastAPI, the first module of the course. Here you’ll go from zero to a working API. You’ll learn what FastAPI is and why it has become the most popular modern Python web framework, write and run your first app, and meet the feature that makes FastAPI so pleasant to work with: automatic, interactive documentation generated straight from your code.

From there you’ll learn the two ways every API reads input from a URL — path parameters (like /tasks/3) and query parameters (like /tasks?done=true) — and see how FastAPI uses ordinary Python type hints to parse and validate them for you. The module ends with a guided project: a small, read-only Task Manager API that you’ll grow into a complete application over the rest of the course.

Everything runs locally, and every example is real, runnable code. Start with Lesson 1, where you’ll see what makes FastAPI different.

Lessons in this module

Achievement

Complete all 5 lessons to finish the Getting Started with FastAPI module.

Start module