Learning PathSkills: FastAPI, REST APIs, Web Development, Jinja2

FastAPI Web Development Learning Path Artwork

FastAPI lets you build Python web APIs quickly using standard type hints for automatic validation, serialization, and interactive documentation. This learning path takes you from your first endpoint to a complete web application.

By completing this path, you’ll be able to:

  • Create REST API endpoints with automatic request validation
  • Build a fully featured API application with data models and CRUD operations
  • Serve dynamic web pages using Jinja2 templates
  • Build and structure a complete URL shortener project

This path is for Python developers who want to build web APIs and applications with a modern, high-performance framework. You should be comfortable with Python basics and type hints.

You’ll start by creating your first endpoints, then build a complete REST API before moving on to HTML page rendering and a hands-on project.

FastAPI: Python API Development With Light Speed

Learning Path ⋅ 5 Resources

Getting Started With FastAPI

Get up and running with FastAPI. You’ll create your first endpoints, work with path parameters, and see how FastAPI uses Python type hints to generate interactive API documentation automatically.

Title image for Start Building With FastAPI (Get Started With FastAPI)

Course

Start Building With FastAPI

Learn how to build APIs with FastAPI in Python, including Pydantic models, HTTP methods, CRUD operations, and interactive documentation.

Title image for Get Started With FastAPI (Get Started With FastAPI)

Title image for Starting With FastAPI and Examining Python's Import System (Two illustrated podcast hosts recording at a desk with microphones, headphones, and an ON AIR sign, beside photos of hosts Christopher Bailey and Christopher Trudeau.)

Building REST APIs

Build a fully featured REST API with FastAPI. You’ll handle request validation with Pydantic models, manage CRUD operations, and structure a real-world API application.

Title image for A Close Look at a FastAPI Example Application (A Close Look at a FastAPI Example Application)

Serving Web Pages

FastAPI can serve more than JSON responses. Learn how to render dynamic HTML pages by integrating Jinja2 templates into your FastAPI application.

Title image for How to Serve a Website With FastAPI Using HTML and Jinja2 (How to Serve a Website With FastAPI Using HTML and Jinja2)

Build a Project

Apply what you’ve learned by building a URL shortener from scratch. You’ll design the API, connect a database, and create a complete working web application with FastAPI.

Title image for Building a URL Shortener With FastAPI and Python (Build a URL Shortener With FastAPI and Python)

Course

Building a URL Shortener With FastAPI and Python

In this video course, you'll build an app to create and manage shortened URLs. Your Python URL shortener can receive a full target URL and return a shortened URL. You'll also use the automatically created documentation of FastAPI to try out your API endpoints.

Title image for Building a FastAPI Application & Exploring Python Concurrency (Real Python Podcast E275 Title Image)

Test Your Knowledge

You’ve made it through the entire path! In the wrap-up quiz below, you’ll revisit the most important ideas about routing, request handling, Pydantic validation, async endpoints, CORS, and serving HTML with Jinja2. Use it to spot any topics that still feel rusty before moving on.

Got feedback on this learning path?

« Browse All Learning Paths