Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
FastAPI for Beginners: 30 Hands-On Daily Coding Drills
Rating: 5.0 out of 5(1 rating)
8 students

FastAPI for Beginners: 30 Hands-On Daily Coding Drills

Step-by-step beginner course with daily exercises: routing, CRUD, database operations, and authentication basics
Created byM Sakai
Last updated 10/2026
English

What you'll learn

  • Modern and high-performance Web API development using FastAPI
  • Intuitive and robust data validation leveraging Pydantic
  • SQLite database integration and CRUD operations using SQLAlchemy
  • Fundamentals of dependency injection
  • How to implement automated API testing with pytest

Course content

5 sections • 64 lectures • 6h 53m total length
  • Course Description4:27
  • Course Structure3:33
  • FastAPI Exercise Materials and Cloud Shell Setup4:13
  • Cloud Shell: FastAPI Preview, Saving and Limits4:13

Requirements

  • Basic understanding of Python syntax
  • A PC, browser and Google account with verified age 18 or above. Upload the ZIP and run its setup script in Cloud Shell. Free allowance: 50 hours/week, 5 GB home. Local Python 3.12+ is an alternative.

Description

This course contains the use of artificial intelligence.

Interested in FastAPI but unsure where to start? Read books and tutorials but still find it hard to write the code yourself?

This is a hands-on drill course structured as a 30-day curriculum, with one coding exercise per day covering the fundamentals of FastAPI.

The course uses a small-step format: each day's exercise takes about 15–30 minutes and builds directly on the previous day's content, gradually adding API features one at a time.

Use Google Cloud Shell in your browser: upload the supplied ZIP and run its setup script, without installing Python on your PC. A Google account with verified age 18 or above is required. The free allowance is 50 hours/week and 5 GB home storage. Your home may be deleted after 120 days of inactivity, so download backups. Local Python 3.12 or newer is an alternative. Follow the new opening guides instead of the CodeSandbox environment steps in the videos.

30-Day Roadmap

[Week 1] FastAPI Basics and Routing (Days 1–7)

Start with the simplest possible API. Cover path and query parameters, the difference between HTTP methods (GET/POST), and finish the week by building a simple in-memory Todo API.

[Week 2] Request Body and Pydantic (Days 8–14)

Data validation with Pydantic, one of FastAPI's most powerful features. Cover required and optional inputs, nested data structures, and full CRUD operations.

[Week 3] Database Integration and Dependency Injection (Days 15–21)

Database operations used in real-world development: separating API schemas from DB models, dependency injection, and building a book management API.

[Week 4] Authentication, Testing, and Final Project (Days 22–30)

Practical topics including password hashing, JWT-based authentication, CORS configuration, and automated testing with pytest. The final project is an authentication-enabled blog API with user registration, login, and post features, built from scratch using the techniques covered in the course.

Course Features

- Hands-on drill format: every exercise involves actually writing code, not just watching videos.

- Gradual difficulty curve: features are added little by little each day, moving from basic routing to a complete authenticated API.

Who this course is for:

  • Python beginners who want to start learning FastAPI
  • Those who want to steadily build skills at a comfortable pace, a little each day
  • Those who read books and documentation but struggle to picture how to actually write the code
  • Those who have experience with Django or Flask and want to master modern FastAPI as well