• Stars
    star
    292
  • Rank 142,152 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Demo code and other handouts for students of our FastAPI Web Apps course.

Web Applications with FastAPI course

Demo code and other handouts for students of our FastAPI Web Apps course.

Course Summary

FastAPI has burst on to the Python web scene. In fact, the 2020 PSF developer survey shows FastAPI going from off the radar to the 3rd most popular and fastest growing framework for Python developers. People discovering FastAPI are thrilled with it's toolchain for building APIs. But they wonder if they will need to build a parallel app in Flask or Django for the HTML side of their site.

This course is here to show you that you do not need a second browser-oriented framework: FastAPI is a fantastic framework for HTML-oriented content and static content. That's what this course is all about. You'll learn to build full web apps with FastAPI, equivalent to what you can do with Flask or Django. And it's an amazing framework with even more features than those older, more established frameworks.

What's this course about and how is it different?

There are not many courses out focusing on the FastAPI web framework. But even those that are around focus almost entirely on the API side of FastAPI. While that is useful and interesting, you'll need to answer the question of whether you need another web framework such as Flask or Django for the web browsers. The answer is no.

FastAPI is a truly modern framework that allows you to write web apps with dynamic HTML templates just as much as Flask. Throughout this course, you'll see how to use the various features of FastAPI along with a couple external packages to create wonderful Python web apps.

As part of the course, we well create a nearly complete clone of pypi.org in FastAPI. We'll learn how to use SQLAlchemy, HTML templates, static files, and even deploy our app to a Linux VM in the cloud.

What topics are covered

This course covers everything you need to know to develop, run, and deploy full web apps on top of FastAPI. Just some of the topics include:

  • Building a basic FastAPI application
  • Using server-side dynamic HTML templates such as Jinja2 and Chameleon
  • Centralizing look & feel as well as structural items with a layout HTML template
  • Serving static files from FastAPI (such as images and CSS files)
  • Using the view model design pattern to help with data exchange in FastAPI
  • Create HTML forms accepting user input and doing validation
  • Storing data in the SQLAlchemy ORM
  • Leveraging SQLAlchemy's new async/await capable API for scaling out
  • Deploy your FastAPI app to a Linux cloud VM

Course revisions

See the course revisions and change log.

Take the course

Take the course over at Talk Python Training today.

More Repositories

1

python-for-absolute-beginners-course

Code samples and other handouts for our course.
Python
2,075
star
2

100daysofcode-with-python-course

Course materials and handouts for #100DaysOfCode in Python course
Jupyter Notebook
2,075
star
3

mastering-pycharm-course

Course demos and handouts for Talk Python's Effective PyCharm course
Python
989
star
4

100daysofweb-with-python-course

Demo code and resources for our 100 Days of Web in Python Course
JavaScript
628
star
5

modern-apis-with-fastapi

Course demos and handouts for our Modern APIs with FastAPI course.
Python
567
star
6

data-driven-web-apps-with-flask

Course demo code and other hand-out materials for our data-driven web apps in Flask course
Python
514
star
7

async-techniques-python-course

Async Techniques and Examples in Python Course
Python
423
star
8

htmx-python-course

Student details, source code, and more for our HTMX + Flask: Modern Python Web Apps, Hold the JavaScript course.
CSS
198
star
9

anvil-course

Course demo code and other hand-out materials for our Anvil: Web apps with nothing but Python course
Python
118
star
10

excel-to-python-course

Student materials and handouts for Excel to Python course
Jupyter Notebook
95
star
11

data-driven-web-apps-with-pyramid-and-sqlalchemy

Demos and handouts for Talk Python's Data-Driven Web Apps with Pyramid and SQLAlchemy course
Python
92
star
12

modern-python-projects-course

Modern Python Projects course materials and handouts
JavaScript
90
star
13

pragmatic-git-course

Up and Running with Git: A pragmatic, UI-based Approach Course Repo
Python
69
star
14

illustrated-python-3-course

Course materials and handouts for Python 3, an illustrated tour course
Python
63
star
15

eve-building-restful-mongodb-backed-apis-course

Course materials and handouts for EVE: Building RESTful MongoDB-backed APIs course
Python
61
star
16

python-data-visualization

Python Data Visualization course code and examples
Jupyter Notebook
43
star
17

twilio-and-sendgrid-python-course

Python-powered chat apps with Twilio and SendGrid course code, materials, and handouts.
Python
41
star
18

getting-started-with-pytest-course

Course materials and handouts for Getting started with pytest course
Python
38
star
19

python-memory-management-course

Demo code exploring Python's memory models and collection algorithms from the Talk Python Training course.
Python
37
star
20

htmx-django-course

Student details, source code, and more for our HTMX + Django: Modern Django Web Apps, Hold the JavaScript course.
CSS
31
star
21

vscode-python-course

Visual Studio Code for Python Developers course at Talk Python
Python
29
star
22

getting-started-with-django-course

Code and other materials for Talk Python's Getting started with Django course
Python
27
star
23

responder-webframework-minicourse

Course materials, demos, and hands-outs for our Responder web framework mini course
27
star
24

data-science-jumpstart-with-10-projects-course

Data Science Jumpstart with 10 Projects Course
26
star
25

static-sites-with-sphinx-and-markdown-course

Code and other materials from our Static Sites with Sphinx and Markdown course
JavaScript
25
star
26

python-for-dotnet-developers-course

Course demo code and other hand-out materials for our Python for .NET course
Jupyter Notebook
23
star
27

python-for-decision-makers-course

Demo code and other hand-out materials for our Python for Decision Makers and Business Leaders course
Jupyter Notebook
22
star
28

python-311-code-tour

Student materials and handouts for our Python 3.11: A Guided Tour Through Code course
Python
22
star
29

adding-a-cms-to-your-web-app-course

Course demo code and other hand-out materials for our Adding a CMS course
Python
17
star
30

fastapi-and-the-microsoft-identity-platform-course

Secure APIs with FastAPI and the Microsoft Identity Platform Course
Python
15
star
31

python-design-patterns-course

12
star
32

fastapi-mongodb-and-beanie-live-course

11
star
33

installing-python

The github repo for our installing Python page at Talk Python Training.
10
star
34

fast-python-webapps-with-cdns

Code and demos from our "Faster Python Web Apps with CDNs" course.
JavaScript
3
star