A Beginner's Guide to GraphQL | Build an API using AWS Amplify and AppSync
Ғылым және технология
What is GraphQL? Why would you use it? Why wouldn't you use it? How do you create an API and query with it in GraphQL? Learn all that and much more in this tutorial.
I work as a Developer Advocate for AWS Amplify, please let me know if you have any feedback for us, and join our Discord: discord.gg/amplify to ask questions!
👩🏼💻 Links Mentioned 👩🏼💻
APIs - www.freecodecamp.org/news/wha...
REST - www.redhat.com/en/topics/api/...
React Tutorial - welearncode.com/beginners-gui...
Blog Post Version of this tutorial - welearncode.com/beginners-gui...
🌸 My Links 🌸
Blog - welearncode.com
Twitter - / aspittel
Twitch - / aspittel
Portfolio - alispit.tel
Пікірлер: 66
Reignited my passion for GraphQL, thank you!
Perfect timing, started learning graphql few days ago along with appsync, great video
Yes!!! So excited for this!
Such clear instructions -- great tutorial! Thank you for taking the time to make this
Ali, you have an incredible easy and clear way to explain such concepts. Thank you for taking the time. I'm subscribed!
@AliSpittelDev
2 жыл бұрын
Thank you so much! Glad to hear it!
Very well done Ali, thank you for putting this together. I learned a ton from you.
The perfect opportunity to dive into GraphQL and figure out what it's all about. Thanks!!
I was just thinking about watching something on graphQL so this is super timely! Thank you so much!
@AliSpittelDev
2 жыл бұрын
You're very welcome! Thanks for watching!
Thank you for your work and this easy to understand video. Much appreciated! Keep up the good work.
Awesome tutorial. I wasn't aware of amplify codegen, I ran it today and voila, lots of pre-built graphql queries for my data set that I can now use in React!
Great video. You make it so easy to follow!👍
Super helpful!! Useful walkthrough
I’ve been learning graphQL recently and this has helped a lot.. thanks!
@AliSpittelDev
2 жыл бұрын
Glad it helped! Thanks!
Just finished it now. A really helpful video, go on 👏❤
@AliSpittelDev
2 жыл бұрын
Thanks so much for watching!
This is a great video. Thank you. GraphQL is awesome.
Outstanding video. Really made this easy to understand and interesting to watch. Keep it up!
@AliSpittelDev
2 жыл бұрын
Glad you liked it! Thanks so much!
Simply Brilliant ! Thank you so much 😊😊
@AliSpittelDev
2 жыл бұрын
Thanks so much for watching!
Great explanation! Helped Alot
Very interesting video Ali. I am just starting to learn about graphQL, and this tutorial is a big help. Thank you.
@AliSpittelDev
2 жыл бұрын
Glad to hear that! Thanks for watching!
Thanks Ali for creating this tutorial.
@AliSpittelDev
2 жыл бұрын
Thanks so much for watching!
Thanks for your good and understandable videos, please keep up 👍👌☺️
Hey Ali, great video again! I’m trying to find out how AppSync generates its input types from the schema we define. It looks like it skips any properties that use interfaces or unions. What do you think?
you saved my time, thank you
Very helpful!!
thanks for video ,such a great content👍
you have a nice and clear voice
wonderfully executed Ali! can't tell that you used to dislike GraphQL at all 😂 and now you pitch it for a living!
@AliSpittelDev
2 жыл бұрын
HAHA true! Thanks so much!
greate video what jsut i needed
Thanks for the great content
Awesome content!
@AliSpittelDev
2 жыл бұрын
Thanks so much for watching!
🥳 Awesome content! Thanks for sharing! 🙏 Feedback: A simple ER diagram for the data model would make it easier to understand the relationships 🤗
Great content.
@AliSpittelDev
2 жыл бұрын
Thanks!
Awesome!
@AliSpittelDev
2 жыл бұрын
Thanks!
really helpful
this is all i needed to grasp the basics lol
My VSCode does not have the colour scheme yours has (i have just white text) what extension do you use? (My JS and others are fine)
do you any reference for creating custom graphql query like. getRecipeByName ? please help
Do you have to have a AWS profile? Plus by having one is it going to cost me money?
Hi Ali, I am getting this error "Not Authorized to access deletepost on type Mutation" while updating/deleting post made by a user account. May I know how to fix it.
Waooo is amazing
@AliSpittelDev
2 жыл бұрын
Thanks for watching!
now there is Amplify transformer v2 and all your schema code don't work. There is an easy way to migrate?
The schema.graphql syntax and setup now seems to be out of date. I create my Data Model in Amplify Studio and then pul it into VSCode with Amplify Pull.
You're absolutly awesome and so cute. Love your videos. Probably gonna watch this few more times because GraphQL isnt that easy
I am just starting to look at graphql. But, why is this really different from doing a real query with joins on the backend using a stored proc and transporting an object that holds all the data returned? IE... some sort of DTO with all the data ans support data included? I do understand that just grabbing data directly from REST APIs is not good with complicated applications. But, Why is graphql better than just using the stored proc/dto approach?
@qwarlockz8017
2 жыл бұрын
Have not watched the vid yet and will do that next. But this question has been sticking too me since it seems another api to do what we used to do.
@peoplethesedaysberetarded
2 жыл бұрын
GraphQL can do data-stitching, and an error on one source won’t fail your entire call as with an un-tweaked-with REST-based fetch/merge/respond cycle. Out of the box, GraphQL will take your failed include and throw that path into an errors object. Your client can get back partial data, null-check the errors key, and rip through it to see what happened. $0.02.
I thought you couldn’t use Number and instead use Int
At the 3 quarter mark do not worry, Ali will tell you that what she has built is not the best way, and she provides a better approach, so don't drop off too early.
I know that “it works,” and you see it a lot, but you’ll want to terminate your statements with semi-colon. Why? If you don’t, the interpreter will take its best guess. It’s usually, very nearly always, correct. Sometimes it isn’t.
@AliSpittelDev
2 жыл бұрын
Hey, here's a presentation I always recommend on this: slides.com/evanyou/semicolons. I have been writing JavaScript for eight years and have ran into issues maybe once and that was easily caught by a runtime error.
PullData would not be a POST
Hey, you're so smart and pretty. I love your content.
@aaronmcadam
2 жыл бұрын
Hey you don’t have to mention looks, just praising the content is enough 😉