GraphQL and FastAPI integration
Вставка
- Опубліковано 31 лип 2021
- 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 - Наука та технологія
amazing , thank you very much sir, and God bless you
Keep them coming, brother, sweet short tutorial
Ps : I know nothing about graphql
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.
You're very welcome
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.
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
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 🇹🇿
Noted , my friend
starlette.graphql is deprecated in Starlette version >= 0.17.0. Any suggestion for replacement library to get along with this tutorial? Thanks.
Not sure really, I'll look up for a solution and let you know
starlette-graphene3
I've one question, is it mandatory that Graphql is implemented in Backend than only we can use it in Frontend ?
it just fits there
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
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
@@BekBrace, on behalf of others ; we'll be thankful to learn more from those videos.
May Lord keep you safe and health
@@raymondmichael4987 thanks a lot for your kindness, brother
Great content dude. Can you make a tutorial including authentication and authorization withing FastAPI please ?
Hey Mouki ! Thanks for your comment.
Probably, I’m gonna do that in the FastAPI/Vue full-stack app I’m preparing currently
@@BekBrace stay blessed and stay safe;
Greetings from Tanzania 🇹🇿
@@raymondmichael4987 Thank you Raymond for your kindness, bless you too my friend - best regards to you and all Tanzania 🇹🇿
@@BekBrace waiting for it 🙌 I would even pay for it, ty man
@@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 🇹🇿
can we integrate Django and Fast API?
Thanks for making such a content video
No, I’m not sure that’s possible
\can create a database with Django and the same database you can axis it with fast API
can you make video for javascript with graphql in future ? or with angular framwork please ? good video
Yes 👍
you haven't used ariadne library. but you said in the video.
I did actually
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
Hey Luiz. Thanks for your question. Yes, I’m currently preparing a full-stack tutorial for September so including Graphql/FastAPI/Vue
@@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.
@@BekBrace count me in :)
@@tanjimulislam4762 I prefer NoSql too
@@tanjimulislam4762 hello Tanjimul. Which database am I going to use Where ?
Amazing Information ❤
Thanks man
starlette.graphql give me error please your help
Sure. Copy the error and paste it please, I want to take a look
Please be aware: GraphQL support in Starlette was deprecated in version 0.15.0, and removed in version 0.17.0.