Create an API in 20 MINUTES with FastAPI (2024 tutorial)

Поделиться
HTML-код
  • Опубликовано: 30 дек 2024

Комментарии • 8

  • @_gwyneth
    @_gwyneth 9 месяцев назад +6

    man authorization is one of the most painful parts bc it's so easy to get it wrong and the risks are so high lol
    would love to see a quick demo of adding it as part of fastapi

    • @MrAngeloniStephen
      @MrAngeloniStephen 9 месяцев назад +1

      After the OSO plug I was hoping for a perfect presentation of how to integrate authorisation into FastAPI.
      That would be THE killer video.
      That being said SQLModel from the maker of FastApi would be cool too.

    • @_gwyneth
      @_gwyneth 9 месяцев назад

      yeah for sure. there's so much additional content here that would be SOOO helpful

    • @Carberra
      @Carberra  9 месяцев назад +3

      Follow-up videos were on my radar anyways, so definitely something I'd be open to make a video about! I just wanted to keep this one to the basics.
      Regarding SQLModel, I'd never actually heard of it. The FastAPI docs themselves use SQLAlchemy (at least the places I've looked in anyways). Had more than one person mention it, so may be something worth looking into.

  • @oleksandr_korol
    @oleksandr_korol 9 месяцев назад +2

    Shame that you don’t show SQLmodels usage, this package made by Fastapi dev, and eliminates duplication of validation&db schemas for models

    • @Carberra
      @Carberra  9 месяцев назад +1

      To be honest I'd never heard of it. The bits of the FastAPI docs I've read all use SQLAlchemy, so just not something I was made aware of. I'll deffo look into it though!

    • @stxnw
      @stxnw 9 месяцев назад

      @@Carberraignore him. SQLModel is not yet production-ready.

    • @khanra17
      @khanra17 9 месяцев назад

      ​​@@stxnw
      If you don't use SQLModel, you don't use FastApi.