GraphQL vs REST APIs | What's the Best Kind of API?
In this video, I explain what GraphQL and REST APIs are, how it works and which is the best way of API for your projects.
⚛️ Learn Full Stack Development: https://cdm.sh/fullstack
👉 Free HTML5 + CSS3 Course: https://cdm.sh/htmlcsscourse
👉 Free JavaScript Course: https://cdm.sh/jsbasicscourse
👉 Free ReactJS Course: https://cdm.sh/react
👉 Free NextS Course: https://cdm.sh/nextjsbasicscourse
In REST architecture, APIs expose their functionality as resources, which are any type of service, data, or object that a client can access. Every resource comes with its own unique URI (Uniform Resource Identifier) that a client can access by sending a request to the server.
So, whenever a client calls a RESTful API, the server will respond with a representation of the state of the queried resource. Many common REST implementations utilise the standard HTTP methods (GET, POST, PUT, DELETE, and PATCH) to call a server.
In GraphQL, a set of information is seen in the context of a graph, just as the name suggests. Nodes, which are defined using the GraphQL schema system, represent objects. And edges represent the connection between nodes in the graph. This enables clear relationships between queries and increases the connectivity between objects.
GraphQL allows users to request data from several resources using a single request. Rather than making multiple requests to fetch data, you can use it to make ad-hoc queries to a single endpoint and access all the required data.
Timestamps:
0:00 Video Starts
0:37 REST API
2:20 REST is a convention
3:09 REST Status Codes
5:19 GraphQL
7:17 GraphQL Query
10:26 GraphQL is Schema Based
11:38 GraphQL Mutations
13:05 Conclusion
14:43 Outro
💰 Refer codedamn to friends and earn $$: https://cdm.sh/refer
👉 Checkout codedamn on social:
Instagram: https://cdm.sh/ig
Twitter: https://cdm.sh/twt
Facebook: https://cdm.sh/fb
GitHub: https://cdm.sh/github
If you found the video valuable, please leave a like and subscribe ❤️ It helps the channel grow and helps me pumping out more such content.
👋 About Me:
Hey! I'm Mehul Mohan, a CSE'21 graduate from BITS Pilani, Goa. I started coding early in life, at the age of 13 when I created my first blog on Blogger. I am listed in Google, Microsoft, Sony, eSet, etc. Hall of Fame for reporting vulnerabilities in their systems.
🍎 I am Apple's WWDC'19 Scholar - visited San Francisco and attended WWDC.
📙 I am an author of 2 books, on JavaScript and React - https://cdm.sh/mehulbooks
🚀 Currently working on my own startup - codedamn.
Connect with me:
📸 Instagram: https://cdm.sh/mehulig
📱 Twitter: https://cdm.sh/mehultwitter
📝 LinkedIn: https://cdm.sh/mehullinkedin
📂 GitHub: https://cdm.sh/mehulgithub
🌎 Personal website: https://cdm.sh/mehulblog
💻 Start learning to code for free: https://cdm.sh/codedamn
🧑🤝🧑 Discord community: https://cdm.sh/discord
👉 HTML5 + CSS3 Tutorials: https://cdm.sh/htmlcssytplaylist
👉 Complete JavaScript Tutorial: https://cdm.sh/jstutorial
👉 Complete React Crash Course: https://cdm.sh/reacttutorial
👉 Next JS Tutorials: https://cdm.sh/nextjsytplaylist
🏷 Video Tags:
GraphQL vs REST APIs | What's the Best Kind of API?
graphql vs rest
GraphQL vs. REST: A Comprehensive Comparison
graphql vs rest api
rest api tutorial
rest api explained
rest vs graphql 2021
rest vs graphql api
what is graphql and why use it
what is rest api
rest api tutorial for beginners
👉 Check out my other personal YouTube channel (it is in Hindi/English mix) where I share coding tips, tricks, and hacks: https://cdm.sh/mehulyt
Видео GraphQL vs REST APIs | What's the Best Kind of API? канала codedamn
⚛️ Learn Full Stack Development: https://cdm.sh/fullstack
👉 Free HTML5 + CSS3 Course: https://cdm.sh/htmlcsscourse
👉 Free JavaScript Course: https://cdm.sh/jsbasicscourse
👉 Free ReactJS Course: https://cdm.sh/react
👉 Free NextS Course: https://cdm.sh/nextjsbasicscourse
In REST architecture, APIs expose their functionality as resources, which are any type of service, data, or object that a client can access. Every resource comes with its own unique URI (Uniform Resource Identifier) that a client can access by sending a request to the server.
So, whenever a client calls a RESTful API, the server will respond with a representation of the state of the queried resource. Many common REST implementations utilise the standard HTTP methods (GET, POST, PUT, DELETE, and PATCH) to call a server.
In GraphQL, a set of information is seen in the context of a graph, just as the name suggests. Nodes, which are defined using the GraphQL schema system, represent objects. And edges represent the connection between nodes in the graph. This enables clear relationships between queries and increases the connectivity between objects.
GraphQL allows users to request data from several resources using a single request. Rather than making multiple requests to fetch data, you can use it to make ad-hoc queries to a single endpoint and access all the required data.
Timestamps:
0:00 Video Starts
0:37 REST API
2:20 REST is a convention
3:09 REST Status Codes
5:19 GraphQL
7:17 GraphQL Query
10:26 GraphQL is Schema Based
11:38 GraphQL Mutations
13:05 Conclusion
14:43 Outro
💰 Refer codedamn to friends and earn $$: https://cdm.sh/refer
👉 Checkout codedamn on social:
Instagram: https://cdm.sh/ig
Twitter: https://cdm.sh/twt
Facebook: https://cdm.sh/fb
GitHub: https://cdm.sh/github
If you found the video valuable, please leave a like and subscribe ❤️ It helps the channel grow and helps me pumping out more such content.
👋 About Me:
Hey! I'm Mehul Mohan, a CSE'21 graduate from BITS Pilani, Goa. I started coding early in life, at the age of 13 when I created my first blog on Blogger. I am listed in Google, Microsoft, Sony, eSet, etc. Hall of Fame for reporting vulnerabilities in their systems.
🍎 I am Apple's WWDC'19 Scholar - visited San Francisco and attended WWDC.
📙 I am an author of 2 books, on JavaScript and React - https://cdm.sh/mehulbooks
🚀 Currently working on my own startup - codedamn.
Connect with me:
📸 Instagram: https://cdm.sh/mehulig
📱 Twitter: https://cdm.sh/mehultwitter
📝 LinkedIn: https://cdm.sh/mehullinkedin
📂 GitHub: https://cdm.sh/mehulgithub
🌎 Personal website: https://cdm.sh/mehulblog
💻 Start learning to code for free: https://cdm.sh/codedamn
🧑🤝🧑 Discord community: https://cdm.sh/discord
👉 HTML5 + CSS3 Tutorials: https://cdm.sh/htmlcssytplaylist
👉 Complete JavaScript Tutorial: https://cdm.sh/jstutorial
👉 Complete React Crash Course: https://cdm.sh/reacttutorial
👉 Next JS Tutorials: https://cdm.sh/nextjsytplaylist
🏷 Video Tags:
GraphQL vs REST APIs | What's the Best Kind of API?
graphql vs rest
GraphQL vs. REST: A Comprehensive Comparison
graphql vs rest api
rest api tutorial
rest api explained
rest vs graphql 2021
rest vs graphql api
what is graphql and why use it
what is rest api
rest api tutorial for beginners
👉 Check out my other personal YouTube channel (it is in Hindi/English mix) where I share coding tips, tricks, and hacks: https://cdm.sh/mehulyt
Видео GraphQL vs REST APIs | What's the Best Kind of API? канала codedamn
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
You DON'T need to solve DSA to build logicGet a better salary with this AWS course!Do this if you want to master flaskThis video will change your life.Bye Bye Leetcode 👋🏻This is the best resource for Node.jsWe need to talk about PrismaMaster Python Django - Beginner to Pro!We have no moat, neither does OpenAINode.js 20 Now Available!Vercel, we need to talkWe (accidentally) made GPT-4 better than your coding teacherUse GPT 4 or die (as a developer)Now AI & I deploy full-stack projects in minutes 🚀Build Interactive Courses With Hands-On Learning Experience [Crash Course]Reality of ChatGPT Plus (Paid Subscription of ChatGPT) | Should you buy it?ChatGPT Tutorial For Web Developers For ProductivityLet's talk about AI Magic Code BrushesComplete Full Stack Web Developer Roadmap [2023 Edition]This AI can now teach you coding like an instructor 🤯This AI Will Overtake Your Developer Job 😨