Summary
Keywords
Full Transcript
GraphQL is a query language for APIs and a runtime for executing those queries with your existing data. It was developed by Facebook in 2012 and released as an open-source project in 2015. If You Want To Support My Work 👇 https://www.youtube.com/channel/UCbBt6Ks7M5BZx_GHgGO_UNQ/join Follow Me On 👇 Any Questions?: https://www.instagram.com/huxnshorts/ Shorts Channel: https://www.youtube.com/@Huxn2.0 Twitter ( X ): https://twitter.com/huxnwebdev GitHub: https://github.com/huxn-webdev 00:00 - Intro 00:20 - Problems with REST 2:36 - GraphQL Save The World 3:05 - Course Setup 3:39 - Package.json Modifications 4:11 - Basic GraphQL Code 5:44 - Type Definitions Simplified 7:27 - Resolvers Simplified 9:08 - Scalar Types 10:46 - Custom Types 12:45 - Operation Arguments 15:28 - Arrays In GraphQL 17:59 - Relationship In GraphQL 20:46 - Mutation: Add User 24:06 - Refactor To Input Types 26:07 - Mutation: Delete User 27:53 - Mutation: Update User 30:07 - Outro
