GraphQL and FastAPI integration

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

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

  • @Sindoku
    @Sindoku 2 года назад +1

    Thanks for posting. I’m transitioning to a BE dev at my job and we use python on the BE. I’ve done this before with NodeJS, but Python’s code is even more simple than Node, and Node is pretty simple in the grand scheme of things.

    • @BekBrace
      @BekBrace  2 года назад

      You're very welcome

  • @pica_noris3461
    @pica_noris3461 3 года назад +4

    amazing , thank you very much sir, and God bless you

  • @이찬욱-b3w
    @이찬욱-b3w 3 года назад +3

    Thanks for kindness! I have one tiny question. Why fucntion named 'resolve_hello' is excuted? when class Query is requested. There is only def. not an excution code.

    • @BekBrace
      @BekBrace  3 года назад +2

      A very good question 👏, and the answer is the last line of the program, where Query is being passed in Schema method which is inside GraphQLApp, and the later is being used executed when you enter / (your default route) and automatically the resolve_hello function is being called within the Query classas it is set in the Schema method below.
      Hope it’s clear and thank you, for your question, friend

  • @raymondmichael4987
    @raymondmichael4987 3 года назад +2

    Hello again ;
    I must confess this, coming from MVC pattern with node js MERN stack, I find it hard to wrap my head around this fastapi beyond just single file todo-app.
    I would like your guide on this, to create a module application having routes, models, controllers,.env files to I can learn the big picture.
    If it's not too much of a request.
    Greetings from Tanzania 🇹🇿

    • @BekBrace
      @BekBrace  3 года назад +1

      Noted , my friend

  • @esportsnexus
    @esportsnexus 3 года назад +1

    I've one question, is it mandatory that Graphql is implemented in Backend than only we can use it in Frontend ?

    • @BekBrace
      @BekBrace  3 года назад

      it just fits there

  • @EriksonEmil
    @EriksonEmil 2 года назад +1

    starlette.graphql is deprecated in Starlette version >= 0.17.0. Any suggestion for replacement library to get along with this tutorial? Thanks.

    • @BekBrace
      @BekBrace  2 года назад

      Not sure really, I'll look up for a solution and let you know

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

      starlette-graphene3

  • @Vijay-Yarramsetty
    @Vijay-Yarramsetty Год назад

    you haven't used ariadne library. but you said in the video.

  • @santoshmaharana4020
    @santoshmaharana4020 3 года назад

    can we integrate Django and Fast API?

    • @santoshmaharana4020
      @santoshmaharana4020 3 года назад

      Thanks for making such a content video

    • @BekBrace
      @BekBrace  3 года назад

      No, I’m not sure that’s possible

    • @santoshmaharana4020
      @santoshmaharana4020 3 года назад

      \can create a database with Django and the same database you can axis it with fast API

  • @luiscevallos1
    @luiscevallos1 2 года назад +2

    starlette.graphql give me error please your help

    • @BekBrace
      @BekBrace  2 года назад +1

      Sure. Copy the error and paste it please, I want to take a look

    • @pedroluzio
      @pedroluzio 2 года назад

      Please be aware: GraphQL support in Starlette was deprecated in version 0.15.0, and removed in version 0.17.0.

  • @MounirSMalak
    @MounirSMalak 3 года назад +2

    Keep them coming, brother, sweet short tutorial
    Ps : I know nothing about graphql

  • @luizferez89
    @luizferez89 3 года назад +1

    It is an interesting video, however can you create a more in-depth tutorial with a front end and back end frameworks ? Thanks for your effort

    • @BekBrace
      @BekBrace  3 года назад +3

      Hey Luiz. Thanks for your question. Yes, I’m currently preparing a full-stack tutorial for September so including Graphql/FastAPI/Vue

    • @tanjimulislam4762
      @tanjimulislam4762 3 года назад +1

      ​@@BekBrace Which database are you going to use my friend ? If it is NoSQL then, please include theoretical explanation on how to store data under a specific user where in case if the user is deleted, the collections/documents will automatically going to be deleted.

    • @raymondmichael4987
      @raymondmichael4987 3 года назад

      @@BekBrace count me in :)

    • @raymondmichael4987
      @raymondmichael4987 3 года назад +1

      @@tanjimulislam4762 I prefer NoSql too

    • @BekBrace
      @BekBrace  3 года назад +1

      @@tanjimulislam4762 hello Tanjimul. Which database am I going to use Where ?

  • @loicilov426
    @loicilov426 3 года назад +4

    Great content dude. Can you make a tutorial including authentication and authorization withing FastAPI please ?

    • @BekBrace
      @BekBrace  3 года назад +1

      Hey Mouki ! Thanks for your comment.
      Probably, I’m gonna do that in the FastAPI/Vue full-stack app I’m preparing currently

    • @raymondmichael4987
      @raymondmichael4987 3 года назад

      @@BekBrace stay blessed and stay safe;
      Greetings from Tanzania 🇹🇿

    • @BekBrace
      @BekBrace  3 года назад +2

      @@raymondmichael4987 Thank you Raymond for your kindness, bless you too my friend - best regards to you and all Tanzania 🇹🇿

    • @adri_fr8887
      @adri_fr8887 3 года назад +1

      @@BekBrace waiting for it 🙌 I would even pay for it, ty man

    • @raymondmichael4987
      @raymondmichael4987 3 года назад +1

      @@BekBrace I just revisited this video today, as this past days I've been addicted to your channel; I hope you're doing fine and the progress is good (never meant to put pressure on you brother, you give a lot to the community).
      Greetings from Tanzania 🇹🇿

  • @juanmanero4631
    @juanmanero4631 3 года назад +2

    can you make video for javascript with graphql in future ? or with angular framwork please ? good video

  • @raymondmichael4987
    @raymondmichael4987 3 года назад

    Dude, Ijust have to ask this; Is that project you promised to prepare is not done? I've been binge watching your videos lately and I'm so hyped for the project hopefully authentication won't be forgotten.
    Cheers fro Tanzania

    • @BekBrace
      @BekBrace  3 года назад +1

      Hello Raymond and thank you for following up the latest content of the channel. Actually not yet, there are a few videos to be uploaded before - Cheers

    • @raymondmichael4987
      @raymondmichael4987 3 года назад

      @@BekBrace, on behalf of others ; we'll be thankful to learn more from those videos.
      May Lord keep you safe and health

    • @BekBrace
      @BekBrace  3 года назад +1

      @@raymondmichael4987 thanks a lot for your kindness, brother

  • @walterjalaf972
    @walterjalaf972 Год назад +1

    Amazing Information ❤