Full Web Apps with FastAPI Transcripts
Chapter: Creating our first FastAPI *site*
Lecture: Chapter introduction
0:00 Hey there. Now that we've got all that positioning and motivation out of the way.
0:03 It's time to start building. We're going to begin by building our first FastAPI
0:09 site. In fact, what we're gonna do is going to take the site
0:12 and build it up and build it up and build it up over time.
0:14 First, it'll be just a really simple site then it'll start having things like dynamic
0:18 HTML in templates and static files.
0:20 And we're gonna add a database and all sorts of cool layers to make it realer
0:25 and realer until we end up with something that is very similar to what you might
0:29 consider a full professional web application.
0:33 And the question is, well,
0:34 what are we gonna build? We're gonna build something that I'm pretty sure you're familiar
0:39 with already. We're gonna build a clone of pypi.org for those of
0:44 you don't know pypi.org is where you go to find Python packages and libraries
0:49 that you can install with pip,
0:51 anything you can install with pip, as long as you used the standard mechanism,
0:54 not some URL or something like that.
0:56 It's going to be coming through this central package index here.
1:02 So what we're gonna do is we're gonna build an application that looks like this.
1:05 It's gonna have similar elements on the page.
1:07 You'll be able to log in and register and get help and do other things as
1:11 well. You'll be able to go to a package and see the details.
1:15 Many of the things you would do with pypi.org you're gonna be able to
1:18 do with our application, and we're gonna build this with basic FastAPI functionality
1:24 and a few cool libraries we're gonna add on to make it working with HTML even
1:28 better in FastAPI.
1:30 So I hope you're excited. We're going to start small in this chapter and build
1:34 and build and build until we have something that looks very similar both visually and functionally to what we have here at pypi.org