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

  • @kellykarsnia2752
    @kellykarsnia27522 жыл бұрын

    Reignited my passion for GraphQL, thank you!

  • @gopinathkrm58
    @gopinathkrm582 жыл бұрын

    Perfect timing, started learning graphql few days ago along with appsync, great video

  • @tylermorales9043
    @tylermorales90432 жыл бұрын

    Yes!!! So excited for this!

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

    Such clear instructions -- great tutorial! Thank you for taking the time to make this

  • @jesusvaldivia2034
    @jesusvaldivia20342 жыл бұрын

    Ali, you have an incredible easy and clear way to explain such concepts. Thank you for taking the time. I'm subscribed!

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Thank you so much! Glad to hear it!

  • @davidgilardi6923
    @davidgilardi69232 жыл бұрын

    Very well done Ali, thank you for putting this together. I learned a ton from you.

  • @fracjackmac
    @fracjackmac2 жыл бұрын

    The perfect opportunity to dive into GraphQL and figure out what it's all about. Thanks!!

  • @kamw73
    @kamw732 жыл бұрын

    I was just thinking about watching something on graphQL so this is super timely! Thank you so much!

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    You're very welcome! Thanks for watching!

  • @Tastygraph
    @Tastygraph2 жыл бұрын

    Thank you for your work and this easy to understand video. Much appreciated! Keep up the good work.

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

    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!

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

    Great video. You make it so easy to follow!👍

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

    Super helpful!! Useful walkthrough

  • @davidchristian3647
    @davidchristian36472 жыл бұрын

    I’ve been learning graphQL recently and this has helped a lot.. thanks!

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Glad it helped! Thanks!

  • @ibnamir
    @ibnamir2 жыл бұрын

    Just finished it now. A really helpful video, go on 👏❤

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Thanks so much for watching!

  • @ScottCate
    @ScottCate2 жыл бұрын

    This is a great video. Thank you. GraphQL is awesome.

  • @meovino
    @meovino2 жыл бұрын

    Outstanding video. Really made this easy to understand and interesting to watch. Keep it up!

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Glad you liked it! Thanks so much!

  • @abasahmed
    @abasahmed2 жыл бұрын

    Simply Brilliant ! Thank you so much 😊😊

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Thanks so much for watching!

  • @raja_zain2k
    @raja_zain2k3 ай бұрын

    Great explanation! Helped Alot

  • @markkirby2543
    @markkirby25432 жыл бұрын

    Very interesting video Ali. I am just starting to learn about graphQL, and this tutorial is a big help. Thank you.

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Glad to hear that! Thanks for watching!

  • @jaggyjut
    @jaggyjut2 жыл бұрын

    Thanks Ali for creating this tutorial.

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Thanks so much for watching!

  • @liecraze5798
    @liecraze57982 жыл бұрын

    Thanks for your good and understandable videos, please keep up 👍👌☺️

  • @aaronmcadam
    @aaronmcadam2 жыл бұрын

    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?

  • @Programmer4nd
    @Programmer4nd2 жыл бұрын

    you saved my time, thank you

  • @subtlejasian
    @subtlejasian2 жыл бұрын

    Very helpful!!

  • @AshwinChaudhary-de9wb
    @AshwinChaudhary-de9wb Жыл бұрын

    thanks for video ,such a great content👍

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

    you have a nice and clear voice

  • @swyxTV
    @swyxTV2 жыл бұрын

    wonderfully executed Ali! can't tell that you used to dislike GraphQL at all 😂 and now you pitch it for a living!

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    HAHA true! Thanks so much!

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

    greate video what jsut i needed

  • @iamtolonly
    @iamtolonly2 жыл бұрын

    Thanks for the great content

  • @jdavidallen
    @jdavidallen2 жыл бұрын

    Awesome content!

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Thanks so much for watching!

  • @rohitchakraborty1715
    @rohitchakraborty17152 жыл бұрын

    🥳 Awesome content! Thanks for sharing! 🙏 Feedback: A simple ER diagram for the data model would make it easier to understand the relationships 🤗

  • @aaronmurphy2686
    @aaronmurphy26862 жыл бұрын

    Great content.

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Thanks!

  • @fsjay
    @fsjay2 жыл бұрын

    Awesome!

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Thanks!

  • @user-lj8vb9yq4p
    @user-lj8vb9yq4p Жыл бұрын

    really helpful

  • @tirasjeffrey2002
    @tirasjeffrey2002Ай бұрын

    this is all i needed to grasp the basics lol

  • @NZTechArc
    @NZTechArc9 ай бұрын

    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)

  • @AshwinChaudhary-de9wb
    @AshwinChaudhary-de9wb Жыл бұрын

    do you any reference for creating custom graphql query like. getRecipeByName ? please help

  • @hamadminmgr
    @hamadminmgr2 жыл бұрын

    Do you have to have a AWS profile? Plus by having one is it going to cost me money?

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

    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.

  • @luisbonilla771
    @luisbonilla7712 жыл бұрын

    Waooo is amazing

  • @AliSpittelDev

    @AliSpittelDev

    2 жыл бұрын

    Thanks for watching!

  • @samyip
    @samyipАй бұрын

    now there is Amplify transformer v2 and all your schema code don't work. There is an easy way to migrate?

  • @NZTechArc
    @NZTechArc9 ай бұрын

    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.

  • @youcancallmejoker340
    @youcancallmejoker340Ай бұрын

    You're absolutly awesome and so cute. Love your videos. Probably gonna watch this few more times because GraphQL isnt that easy

  • @qwarlockz8017
    @qwarlockz80172 жыл бұрын

    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

    @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

    @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.

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

    I thought you couldn’t use Number and instead use Int

  • @NZTechArc
    @NZTechArc9 ай бұрын

    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.

  • @peoplethesedaysberetarded
    @peoplethesedaysberetarded2 жыл бұрын

    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

    @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.

  • @NZTechArc
    @NZTechArc9 ай бұрын

    PullData would not be a POST

  • @The_Winzor
    @The_Winzor2 жыл бұрын

    Hey, you're so smart and pretty. I love your content.

  • @aaronmcadam

    @aaronmcadam

    2 жыл бұрын

    Hey you don’t have to mention looks, just praising the content is enough 😉

Келесі