Python FastAPI Tutorial - HTML Frontend for Your API with Jinja2 Templates - Part 2
Corey Schafer via YouTube
-
19
-
- Write review
Learn Backend Development Part-Time, Online
Finance Certifications Goldman Sachs & Amazon Teams Trust
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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