Python FastAPI Tutorial - HTML Frontend for Your API with Jinja2 Templates - Part 2
Corey Schafer via YouTube
-
19
-
- Write review
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to create an HTML frontend for your FastAPI application using Jinja2 templates in this 37-minute tutorial. Set up Jinja2Templates to serve proper HTML pages to users while maintaining JSON endpoints for your backend API. Master passing data to templates and utilizing Jinja2 syntax for loops and conditionals to create dynamic content. Implement template inheritance with layout files to maintain consistent page structure across your application. Add Bootstrap styling to enhance the visual appeal of your pages and configure static file serving for CSS and images. Build a professionally styled blog homepage that displays posts dynamically. Access the complete source code through the provided GitHub repository and continue your FastAPI learning journey with the full course playlist.
Syllabus
Python FastAPI Tutorial (Part 2): HTML Frontend for Your API - Jinja2 Templates
Taught by
Corey Schafer