Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
FastAPI Full Stack Web Development
Role Play
Rating: 4.6 out of 5(1,503 ratings)
7,495 students

FastAPI Full Stack Web Development

Experience building high-performance APIs with Industry-standard best practices. It's gonna be hard but worth it.
Created bySourabh Sinha
Last updated 9/2025
English
English [Auto],Spanish [Auto],

What you'll learn

  • Learn to develop an API as well as webapp using FastAPI with best practices and unit testing.

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

8 sections52 lectures4h 56m total length
  • Project Demonstration2:11
  • Prerequisite for the course1:09

    Understanding the course structure and setting up our system.

  • Github Repo. and exact version of Packages used0:33
  • Technology Stack for the Course2:18
  • Initial Configurations for the Project3:47
  • Hello FastAPI3:33

    Set up a backend with fastapi to build a hello world api, install requirements.txt, and run with uvicorn for live reload, then view the open api docs at /docs.

  • HTTP Verbs and Usage2:08

    Master the core http verbs for create, read, update, delete: get to retrieve data, post to create records, put for full updates, patch for partial updates, delete to remove records.

  • Refactoring Project Configuration Variables1:57

    Refactor project configuration variables by centralizing them in a settings class inside a code/config module. Manage environment-specific values for title and version across staging and production, and verify with uvicorn.

  • Using GIT and Github3:24

    Create a GitHub repository and push your FastAPI project using git: initialize, add, commit, rename to main, add origin, and push, with a readme to guide collaboration.

  • Test Your Understanding

Requirements

  • Basic understanding of Python
  • Example : Classes, List, Dictionaries.
  • Basic understanding of Clean code and Testing philosophy will help you understand and refractor code.

Description

This course is a guide to learn FastAPI. The FastAPI documentation is one of the best documentation. This course is for students who love videos as a medium to learn. We will be learning FastAPI with best practices. The Test-Driven Development goat ? will guide our development process. TDD is the way to think of the code before we actually write a piece of code. In this course we will be learning the following core concepts:

  • Creating APIs : We will implement the below endpoints:

    • Create

    • Retrieve

    • Update

    • Delete

    • List Blogs

  • User Authentication with basic security

    • Password will be hashed to provide additional security

    • We will use JSON Web Tokens to authenticate

    • Tokens won't be stored in LocalStorage or Cookies

    • Token will be stored in HttpOnly cookie


  • Version Control System

    • We will use GIT as our Version Control

    • Github will be used to host our code


  • Creating web apps

    • We will use Jinja Templating Language

    • We will be working with several forms


  • Unit Testing

    • Tests will be written in Pytest

    • After each testing cycle, the Test database will be cleaned

    • Test Coverage

    • How not to write unit tests?


  • Permissions: A user who has not created the blog, won't be able to delete it.

  • We will work with Postgres and monitor it using PgAdmin.

Fastapi provides us with built-in OpenAPI docs, we will use the documentation to the fullest. The docs help backend and frontend developers collaborate easily with each other.

Who this course is for:

  • Beginners who want to build a real world webapp from scratch.