FastAPI with Jinja2 in UNDER 6 minutes

Поділитися
Вставка
  • Опубліковано 27 чер 2023
  • In this tutorial, we will dive into the world of modern web development with FastAPI and Jinja2. FastAPI, a high-performance web framework, is increasingly becoming popular for its ease and speed. We will combine it with Jinja2, a powerful templating engine, to create a dynamic and interactive web application.
    🎥 React + FastAPI: • How to build a React +...
    🎥 AWS Lambda + FastAPI: • Deploy FastAPI on AWS ...
    🎥 MongoDB + FastAPI: • Unlocking the Power of...
    🎥 MySQL + FastAPI: • How to build a FastAPI...
    🎥 PostgreSQL + FastAPI: • How to build a FastAPI...
    ===========================
    🎓 Courses can be found:
    FastAPI Beginner & Advanced: www.udemy.com/...
    Learn Chatbot Development: www.udemy.com/...
    ===========================
    🛒 GEAR & RECOMMENDED BOOKS: kit.co/codingw...
    FastAPI and Jinja2 are a match made in heaven. In this tutorial, you will learn how to combine FastAPI's high performance with Jinja2's templating prowess to create feature-rich web applications. We'll deep-dive into FastAPI's features and see how effortlessly Jinja2 integrates with FastAPI for creating dynamic views.
    💬 If you have any questions or feedback, leave a comment below!
    #python #fastapi #jinja

КОМЕНТАРІ • 36

  • @ArcherTakesItEZ
    @ArcherTakesItEZ 8 днів тому

    awesome tutorial.. love the way you explained every detail

  • @StrategicCIS
    @StrategicCIS Рік тому +2

    Have you got any training on using FastAPI and SQLModel to connect to a remote database?
    I've got a MySQL DB on a digital ocean droplet that I want to access.
    Thanks.

    • @codingwithroby
      @codingwithroby  Рік тому

      I only have videos using SQLAlchemy - do you prefer sqlmodel? I have heard a lot of people using it and really liking it

  • @elykou4843
    @elykou4843 10 місяців тому +1

    The best teacher I 've ever met.

    • @codingwithroby
      @codingwithroby  10 місяців тому

      This is awesome to hear!! Thank you so much

  • @dandotcraig1
    @dandotcraig1 6 місяців тому +2

    This tutorial is great - music just a little too loud

  • @mohammedtaher3717
    @mohammedtaher3717 7 місяців тому +1

    Your content is pretty well explained!
    Would you be considering making a course in the future for ML engineers/ Data Scientists to deploy web apps using fast API with an easier frontend framework? As a DS it's a bit overwhelming to learn Javascript/ html/ css or its dependencies as it moves me away from my core expertise and also do not want to miss out capabilities of fast API.😅

    • @codingwithroby
      @codingwithroby  7 місяців тому +1

      I will definitely add it to my possibilities list!

  • @bedelicks
    @bedelicks 4 місяці тому +2

    Absolutelly great content. Thank you!

  • @ArMor-dp7nb
    @ArMor-dp7nb Місяць тому +1

    That was awesome!

  • @Den-Geist-Befreien
    @Den-Geist-Befreien 9 місяців тому

    Yeah... the web browser just shows "null" in chrome.
    When I revert to the Non-Jinja2 way, it works.

  • @thegreekgoat98
    @thegreekgoat98 Рік тому +1

    This was well explained. Thanks.

  • @InhumanBean
    @InhumanBean 9 місяців тому

    A very useful example, efficiently explained. Thank you!

  • @aliensamv3997
    @aliensamv3997 4 місяці тому

    5:04 man what the hell is that "for dog in dogs" 😂😆😜😂

    • @codingwithroby
      @codingwithroby  4 місяці тому

      lol was this some sick joke comment 😅

  • @Frangelo90
    @Frangelo90 Рік тому

    I'm doing a simple command where if I click a it does some function.
    How do I do that? I'm guessing it has something to do with onclick event in javascript?

    • @codingwithroby
      @codingwithroby  Рік тому

      Well it actually depends on the functionality you want complete. An onclick event listener will all be handled within the browser using JS, but if you need to manipulate data you may want to call your Fastapi application

    • @Frangelo90
      @Frangelo90 Рік тому

      @@codingwithroby Hi can you let me know where in the udemy course is this? I bought the course but can't seem to find it

  • @user-xb3ll6ol3t
    @user-xb3ll6ol3t 4 місяці тому +1

    Great very clear

  • @AzfarMasood
    @AzfarMasood 3 місяці тому

    Please guide how to integrate fastapi with Gemini integration

    • @codingwithroby
      @codingwithroby  3 місяці тому

      I'll add it to the list for my backlog 🙂

  • @__mostafa__
    @__mostafa__ 8 місяців тому

    The explanation was very good, Thank you.

    • @codingwithroby
      @codingwithroby  8 місяців тому

      You are welcome! I am glad you found value 🙂

  • @AzfarMasood
    @AzfarMasood 3 місяці тому

    Please guide us how to integrate any project in fastapi

  • @angxltechgod3407
    @angxltechgod3407 Рік тому

    Hello,
    What are we storing in the request class that we have in our function?

    • @codingwithroby
      @codingwithroby  11 місяців тому +1

      Great question. The request is a default object that needs to get passed and returned to use Jinja. Jinja relies on this and does some magic behind the scenes to get this all working together.

  • @nieska6706
    @nieska6706 7 місяців тому

    your face position in video is annoying, please move to the right side

    • @codingwithroby
      @codingwithroby  7 місяців тому +1

      Ouch, hopefully it’s 100% the position and not the face itself 😂

    • @nieska6706
      @nieska6706 7 місяців тому

      @@codingwithroby sorry, only position not your handsome face 😄