We may earn an affiliate commission when you visit our partners.
VideoLab by Jad Khalili

There is a lot that goes into full stack web development.

With databases, REST architecture, HTTP requests, OAuth2, and all the other protocols that go alongside full stack web development, it can be hard to learn, especially when coupled with a complicated framework like FastAPI and the nuanced parts of Python.

This course aims to eliminate that confusion by teaching FastAPI from the very basics to the advanced level. It combines theory and practical use to give you everything you need to learn FastAPI, all while allowing you to build 3 full-stack web applications written primarily in Python along the way.

Read more

There is a lot that goes into full stack web development.

With databases, REST architecture, HTTP requests, OAuth2, and all the other protocols that go alongside full stack web development, it can be hard to learn, especially when coupled with a complicated framework like FastAPI and the nuanced parts of Python.

This course aims to eliminate that confusion by teaching FastAPI from the very basics to the advanced level. It combines theory and practical use to give you everything you need to learn FastAPI, all while allowing you to build 3 full-stack web applications written primarily in Python along the way.

Throughout the course, you will:

  • Create 3 full-stack applications using FastAPI in Python and industry-standard practices

  • Use Jinja2, Bootstrap, HTML, and CSS to create front-end templates with control flow (conditionals, loops, etc.)

  • Fundamentally understand

And the best part is; you don't have to know anything about FastAPI, web routing, security, or any of the above. All you need is a basic understanding of Python and some familiarity with HTML and CSS, and you will be on your way to becoming a master of full stack web development in Python and FastAPI.

The curriculum takes a comprehensive look at both FastAPI and the technologies needed to build it. Before we start building any apps, we take a look at the basics of Python, including:

  • Type hints

  • Pydantic models

  • Nuanced Python features that make development much easier, such as virtual environments.

At the end of section, there is a coding exercise and quiz that incorporate all content covered to ensure understanding.

Once the basics are covered, we start by building the first of three full stack web applications. In the first app, we focus on the basics of FastAPI by teaching:

  • REST API architecture

  • Jinja2

  • Bootstrap

  • HTML templating

  • The foundational FastAPI skills needed to get a basic application up and running.

Along the way, we will be building a car information viewer that lets you view, search, create, edit, and delete information about cars, all delivered in a clean and readable codebase using Python and FastAPI.

The home page contains a list of all the cars in our database, which is neatly formatted and displayed to the user in a gridlike manner.

The navbar contains working links to the home page, a form to create a car (more on that later. ), and an embedded search bar which, when used, takes you to a search page.

The search form uses IDs to search the database for cars, and displays them to the user. It also contains error handling in case an invalid ID is passed to the user.

Each car on the page has edit and delete buttons, with the edit button taking you to an auto-filled form on a separate page to edit the data, and the delete button passing a request to a hidden route that removes it from the database.

The create form is identical to the edit form, except it has no auto-filled data. When completed, it will redirect to the home page, where the newly created car will be available to view.

The second app focuses on web security, incorporating:

  • OAuth2 flows and schemes

  • Password hashing

  • JSON web tokens

  • FastAPI-specific authentication systems

  • And industry-standard practices into a main FastAPI application written in Python.

This will be built around a social media feed that uses login and registration functionality to display user information under a protected page.

The home page is available to everyone, and contains some basic text prompting the user to login. The navbar contains links to a login, registration, and logout page, all with custom error messaging to ensure new users are unique and attempted logins are properly authenticated.

The protected page contains data about the user which is displayed in a responsive grid to the user. This displays user information, friends, and notifications.

The logout feature removes any of the authentication applied to the web session and redirects to the homepage.

The third app focuses on databases, using SQLite and SQLAlchemy to build and model databases in Python and FastAPI. You will also learn to use Alembic in combination with SQLAlchemy to perform database migrations and updates.

These topics will be built around a todo list that combines user login with SQLite databases to create a full stack web application, incorporating all the elements of FastAPI, Python, OAuth2, and all the other practices learned up to that point.

Similar to the second app, the homepage is available to everyone and prompts the user to log in.

The login, registration, and logout features use the same FastAPI logic to handle authentication as the previous app, except this time, data is being pulled from a real SQLite database. This is combined with past knowledge to create authentication that works with FastAPI.

The todo page contains a list of all the tasks that pertain to the user. At the bottom of the list is a form that lets you add a new task, which sends a request to a route that handles parsing and adding the task to the user's list of tasks through advanced, FastAPI-specific Python logic.

So, are you ready to start crushing web development and building full stack web applications in FastAPI and Python? Enroll and start your FastAPI journey today.

Enroll now

What's inside

Learning objectives

  • Create 3 full-stack applications using fastapi in python and industry-standard practices
  • Use jinja2, bootstrap, html, and css to create front-end templates with control flow (conditionals, loops, etc.)
  • Fundamentally understand rest api architecture and how to implement rest apis in fastapi
  • Use database browsers and sqlalchemy to create, manage, update, and parse sqlite databases
  • Create user authentication and registration logic with error handling
  • Understand http, how it works, and how to make requests, including methods, headers, bodies, and status codes
  • Format programmatic data to include in front-end pages
  • Parse http requests in python and extract relevant data, including parameters, form data, and request bodies
  • Validate http routes and implement error handling in rest apis and full-stack applications
  • Understand json and how to both parse and return it using python
  • Use pydantic and type hints to create data models and schemas in python
  • Hash and verify passwords in python
  • Create oauth2 flows and use them to authenticate users
  • Create, manage, and update json web tokens
  • Create database models in python
  • Use alembic to migrate and update databases
  • Use sqlalchemy to write functionality to interact with databases in python
  • Learn best web development practices and conventions
  • Show more
  • Show less

Syllabus

Before you start
Introduction & Setup
Projects you will complete
What will I learn in this course?
Read more
Installing libraries & software
Where to find project files
In this section, you will learn about advanced Python concepts, such as type hints, Pydantic models, and virtual environments.
Notice about the following section
Project Resources
REST, CRUD, and HTTP requests
What is FastAPI?
Type hints
Pydantic models
CODING EXERCISE: Design a social media post model w/ Pydantic
CODING EXERCISE (SOLUTION): Design a social media post model w/ Pydantic
Virtual environments
Quiz: REST Architecture, Type Hints, & Pydantic Models
By the end of this section, you will have created a car information viewer that lets you create, edit, search, and delete cars. This will teach you the basics of FastAPI and HTML templating.
Project Preview - Car Information Viewer
Setting up app
Creating a car model
Get all cars path
Get car by ID
Adding cars
Updating car
Deleting car
Course Check-In
Setting up HTML templates
Creating your first HTML response
Header & footer components
Designing a Navbar
Creating the main page
Notice about following lecture
Creating a car component
Adding a search feature
Create car feature
Edit car feature
Delete car feature
Quiz: Basic FastAPI
By the end of this section, you will have created a social media feed with a production-ready user login and registration system. This section aims to teach OAuth2, JWT, web security, and hashing.
Project Preview - Social Media Feed
Creating models
Creating base home page
Creating login page
Password hashing mechanism
Notice about the following lecture
Login mechanism: User verification
Login mechanism: Login data route
Logout mechanism
Registration page
Registration mechanism
Displaying user information
Notifications page
Bug fixes & refactoring
Quiz: OAuth2, JWT, Web Security
By the end of this section, you will have created a todo list that incorporates user login and data persistence. This section teaches you SQLite and SQLAlchemy, as well as how to use it with FastAPI.
Project Preview - Todo List
Project resources
Creating header, footer, and navbar components
Creating home page
Setting up database
Creating Pydantic models (schemas)
Creating database models
App setup with DB
DB migrations & adjustments w/ Alembic
Login page & mechanism: Setup & CRUD
Login page & mechanism: Authentication
Registration page & mechanism: Setup & CRUD
Registration page & mechanism: Authentication
Todo page: List tasks
Todo page: Add tasks
Todo page: Complete tasks
Quiz: SQL & SQL Integration
Goodbye & Next Steps
Goodbye
You made it! What's next?

Save this course

Save The FastAPI SuperGuide: Create 3 Real-World FastAPI Apps to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in The FastAPI SuperGuide: Create 3 Real-World FastAPI Apps with these activities:
Review REST API Architecture
Reviewing REST API architecture will provide a solid foundation for understanding how FastAPI applications are structured and how they interact with clients.
Browse courses on REST APIs
Show steps
  • Read articles and documentation on REST principles.
  • Study examples of well-designed REST APIs.
  • Practice designing API endpoints for common use cases.
Practice HTML and CSS Fundamentals
Practicing HTML and CSS will help you create better front-end templates with Jinja2 and Bootstrap, which are used extensively in the course projects.
Browse courses on HTML
Show steps
  • Complete online tutorials on HTML and CSS basics.
  • Build simple web pages using HTML and CSS.
  • Experiment with different CSS frameworks like Bootstrap.
Read 'Python Crash Course'
Reading 'Python Crash Course' will help solidify your Python fundamentals, which are essential for understanding and working with FastAPI.
Show steps
  • Read the chapters covering basic Python syntax and data structures.
  • Complete the exercises at the end of each chapter.
  • Focus on understanding functions and object-oriented programming.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Build a Simple API with FastAPI
Starting a small API project will allow you to apply the concepts learned in the course and gain hands-on experience with FastAPI.
Show steps
  • Set up a new FastAPI project with a virtual environment.
  • Define API endpoints for basic CRUD operations.
  • Implement data validation using Pydantic models.
  • Test the API endpoints using a tool like Postman.
Document Your FastAPI Learning Journey
Creating a blog or documentation will help you solidify your understanding of FastAPI concepts and share your knowledge with others.
Show steps
  • Choose a platform for your blog or documentation (e.g., Medium, GitHub Pages).
  • Write articles or tutorials on specific FastAPI topics.
  • Include code examples and explanations in your content.
  • Share your content on social media and online forums.
Read 'SQLAlchemy: The Definitive Guide'
Reading 'SQLAlchemy: The Definitive Guide' will deepen your understanding of SQLAlchemy and how to use it effectively with FastAPI.
View Essential SQLAlchemy on Amazon
Show steps
  • Read the chapters covering database modeling and querying.
  • Study the examples of using SQLAlchemy with FastAPI.
  • Experiment with different database configurations and migrations.
Contribute to a FastAPI Open Source Project
Contributing to open source projects will provide valuable experience working with real-world FastAPI applications and collaborating with other developers.
Show steps
  • Find a FastAPI open source project on GitHub.
  • Identify a bug or feature to work on.
  • Submit a pull request with your changes.
  • Participate in code reviews and discussions.

Career center

Learners who complete The FastAPI SuperGuide: Create 3 Real-World FastAPI Apps will develop knowledge and skills that may be useful to these careers:

Reading list

We've selected two books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in The FastAPI SuperGuide: Create 3 Real-World FastAPI Apps.
Provides an in-depth look at SQLAlchemy, the Python SQL toolkit and Object Relational Mapper used in the course. It covers topics such as database modeling, querying, and working with Alembic for database migrations. It is particularly useful for the third project, which focuses on databases. This book is commonly used as a reference by industry professionals.
Provides a solid foundation in Python programming, covering essential concepts like data structures, functions, and object-oriented programming. It's particularly useful for those with limited Python experience. While not directly focused on web development, it equips learners with the necessary Python skills to tackle FastAPI projects. It is best used as a reference text.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser