Module 08 of 10

Web Frameworks & APIs

Lessons

About This Module

Python isn't only for scripts: it powers websites, mobile app backends, and services that other programs talk to. A web framework handles the repetitive parts of building for the web, like routing requests, rendering pages, and returning responses, so you can focus on your own features.

You'll start with the core ideas behind REST APIs: how clients and servers communicate over HTTP. Then you'll build with three of Python's most popular frameworks: Flask, a lightweight and flexible starting point; Django, a full-featured framework with batteries included; and FastAPI, a modern framework designed for fast, well-documented APIs.

With a working web app or API behind you, you'll be ready for the next module, Testing & CI/CD, where you'll learn to verify your code and automate delivery.

Lessons

4 videos
01

REST API concepts and examples

What a REST API is and how it works: resources, HTTP methods like GET and POST, URLs, and JSON, explained with simple examples.

02

Python Flask Tutorial: Web Development with Flask - Getting Started

How to get started with Flask: setting up your first app, creating routes, and rendering HTML templates.

03

Python Django Tutorial: Full-Featured Web App Part 1 - Getting Started

How to start a Django project: installing Django, the project structure, creating an app, and your first views and URLs.

04

FastAPI Course for Beginners

How to build fast, modern APIs with FastAPI: path and query parameters, request bodies, validation, and automatic documentation.