GraphQL and FastAPI integration

Ғылым және технология

This is a quick introduction to GraphQL.
You will also learn how to run a basic query and fetch data using FastAPI framework through GraphiQL tool.
======================FastAPI crash course=====================
• FastAPI [ Python Web F...
======================FARM stack course=====================
• FARM Stack Course ( F...
Github Code : github.com/BekBrace/GraphQL-F...
You can reach me on : info@bekbrace.com
You can read my blogs on : dev.to/bekbrace

Пікірлер: 44

  • @pica_noris3461
    @pica_noris34613 жыл бұрын

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

  • @MounirSMalak
    @MounirSMalak3 жыл бұрын

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

  • @Sindoku
    @Sindoku Жыл бұрын

    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

    Жыл бұрын

    You're very welcome

  • @user-zi7ce3gm8v
    @user-zi7ce3gm8v3 жыл бұрын

    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 жыл бұрын

    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
    @raymondmichael49873 жыл бұрын

    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 жыл бұрын

    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

    2 жыл бұрын

    @@raymondmichael4987 thanks a lot for your kindness, brother

  • @loicilov426
    @loicilov4263 жыл бұрын

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

  • @BekBrace

    @BekBrace

    3 жыл бұрын

    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 жыл бұрын

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

  • @adri_fr8887

    @adri_fr8887

    3 жыл бұрын

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

  • @raymondmichael4987

    @raymondmichael4987

    3 жыл бұрын

    @@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 🇹🇿

  • @raymondmichael4987
    @raymondmichael49873 жыл бұрын

    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 жыл бұрын

    Noted , my friend

  • @walterjalaf972
    @walterjalaf972 Жыл бұрын

    Amazing Information ❤

  • @BekBrace

    @BekBrace

    Жыл бұрын

    Thanks man

  • @esportsnexus
    @esportsnexus2 жыл бұрын

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

  • @BekBrace

    @BekBrace

    2 жыл бұрын

    it just fits there

  • @luizferez89
    @luizferez893 жыл бұрын

    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 жыл бұрын

    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 жыл бұрын

    ​@@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 жыл бұрын

    @@tanjimulislam4762 I prefer NoSql too

  • @BekBrace

    @BekBrace

    3 жыл бұрын

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

  • @EriksonEmil
    @EriksonEmil2 жыл бұрын

    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

    7 ай бұрын

    starlette-graphene3

  • @juanmanero4631
    @juanmanero46313 жыл бұрын

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

  • @BekBrace

    @BekBrace

    2 жыл бұрын

    Yes 👍

  • @Vijay-Yarramsetty
    @Vijay-Yarramsetty11 ай бұрын

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

  • @BekBrace

    @BekBrace

    11 ай бұрын

    I did actually

  • @santoshmaharana4020
    @santoshmaharana40203 жыл бұрын

    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
    @luiscevallos12 жыл бұрын

    starlette.graphql give me error please your help

  • @BekBrace

    @BekBrace

    2 жыл бұрын

    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.

Келесі