Python FastAPI Tutorial (Part 2): HTML Frontend for Your API - Jinja2 Templates
Transcript Preview
Hey there, how's it going everybody? In this video we're going to be learning how to use templates in FastAPI. Templates allow us to serve up HTML pages to our users while still maintaining our JSON endpoints for the backend API. So we'll set up Jinja2 templates, pass data to templates, use Jinja2 syntax for four loops and conditionals, implement template inheritance with a layout.html, we'll add some bootstrap for styling, and set up static files for our CSS and images. So by the end of this vi…
Get the Full Transcript — Free →Enter your email and we'll send the full transcript instantly. No account needed.
Want transcripts for the whole Corey Schafer channel?
Get All Corey Schafer Transcripts →