FastAPI Server HTML response using Jinja2 - Ultra Fast

Published: 22 April 2021
on channel: CoOoDE
14,647
205

If you want to render an html resource as the output for any of the routes, its very easy with the help of Jinja2 that is supported by FastAPI. In this video, we will take a look at the same.

Sections
0:00 - Intro
0:15 - Install Jinja2
0:30 - Create JinjaTemplate Obj
3:00 - Render static HTML File
5:00 - Render dynamic HTML file
8:30 - Outro

◾◾◾◾◾
📸 Instagram:   / codermonk_  
🌎 Website https://androidmonks.com
📱 Twitter:   / diputsc  
📝 LinkedIn:   / baradwaj-varadharajan-0a0a45a6  
📂 GitHub: https://github.com/barathmonk

🖥️ Products I Use and Recommend
Everyday Planner - https://amzn.to/2RFpWCi
Fidget Spinner - https://amzn.to/3kCWIBs

⚙️ Tech I use
Acer 32 Inch Monitor- https://amzn.to/33CT5p0
Laptop - MacBook Pro 15 (Primary)
Dell XPS Windows Laptop(Secondary) - https://amzn.to/30GQN6k

📹 Filming Gears
Canon EOS R - https://amzn.to/2XKNzNb
Maono Au 400 - https://amzn.to/3gMH3gs

🤝 All products here are affiliate links and i make a small commision when you buy it through them. Do not worry, you will not be charged anything extra.
◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
Coder Monk
Coder Monk Flutter
Coder Monk Programming