REST vs GraphQL | When to choose one over other | Tech Primers

preview_player
Показать описание
This video covers the differences between REST and GraphQL with realtime usecases and examples.

⏱Chapter Timestamps
====================
0:00 - Intro
0:23 - Agenda
1:16 - Differences between REST and GraphQL
1:44 - Practical example of GraphqQL
5:07 - Practical example of REST
6:20 - HTTP Methods
8:16 - Overfetching/Underfetching
9:57 - When to use GraphQL
11:54 - Usecase - Messaging Application
14:54 - Usecase - Ticket Booking Application
18:31 - Summary

📌 Related Videos
===============

📍Related Links
==============

🎬Video Editing: FCP

🎼Background Music:
Joakim Karud
Dyalla

---------------------------------------------------------------
🔥 Disclaimer/Policy:
The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
You are free to use the code samples in Github after forking and you can modify it for your own use.
All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
#RESTVsGraphQL #GraphQL #TechPrimers
Рекомендации по теме
Комментарии
Автор

⏱Chapter Timestamps

0:00 - Intro
0:23 - Agenda
1:16 - Differences between REST and GraphQL
1:44 - Practical example of GraphqQL
5:07 - Practical example of REST
6:20 - HTTP Methods
8:16 - Overfetching/Underfetching
9:57 - When to use GraphQL
11:54 - Usecase - Messaging Application
14:54 - Usecase - Ticket Booking Application
18:31 - Summary

TechPrimers
Автор

Very Interesting and useful. To summarize, can we safely say:
GraphQL should be used when
1. We need to provide the client with minimal data,
2. Has need to know basis data requirement
3. Multi tenant clients
4. More front end centric apps like for e.g. mobile apps
Rest should be used when
1. It can co exist with GraphQL but mainly to be used for stronger backend services,
2. No restriction in terms data flow and loading/unloading,
3. Multi http protocol support is required,
4. Huge no of backend services present in system design which needs to communication with each other,
Please suggest,
As usual Thanks for your efforts,

muks
Автор

Very good video. To the point. Great work.

AR-scorp
Автор

Great video. very easy to understand. The use cases really make the difference. Thanks for the effort

rajganguly
Автор

Thanks for Video, its useful to understand when to use Rest or Graphql

jayaramuduc
Автор

Man! you simplifies everything. Thank you for the video

geekthegeek
Автор

Interesting information about REST and GraphQl. Thanks

parvkapadia
Автор

Thanks for a wonderful video yet again. This helped me look at your earlier video on Spring Boot and GraphQL and gain some knowledge on it.

RajaPandianCRP
Автор

Thank you for your effort.
Could you please explain API vs Webhook?

mediacmid
Автор

GraphQL is handy way of reducing data over internet when clients interested in few fields. In past developer used json in built feature like serialize except these list of fields. For parsing query input RSQL, JAX-RS search.

virtexamit
Автор

Once again something useful and different 😊

JaNaMSoNi
Автор

excellent video, very clear. few questions 1. is there a client on top of http client 2. isnt it better to just use gql as it can do what a rest could provide as well the benefits of gql, using both can be a overhead, 3. is there a different frame work for getting the backend to use gql . 4. how would the specification look like in case of gql

tarankaranth
Автор

I have a usecase where I need to get data from database (around 12 queries to be executed with complex joins and multiple tables) and this data need to be served into a dashboard. Each query result need to be displayed into the dashboard. What can be the best approach here. A single Graph QL API or multiple Rest endpoints. I need to save database calls by caching as well.

vizubhatt
Автор

Hey bro, any example for Spring boot batch processing with resttemplate.

JaNaMSoNi
Автор

Great explanation as always ..😊 If u can make Video on Kafka Confluent and IBM MQ .. would be a great help ...Thanks for ur sharings 🙏🏻🙏🏻🤟🏻🤟🏻

yogeshpatil-vxpi
Автор

Thanks for the comparison, great video!!
Are you going to implement those use cases demo in the upcoming videos?

asgharhussain
Автор

[GET] Rest API with payload would looks similar to GraphQL ?

kanishmalviya
Автор

Have doubt! Cant we acheive graphql capability thru a req body with post verb in rest style ?

MrSuryaKranthi
Автор

Small correction: to create the country(resource), convention is to use POST (not PUT) and to update the existing country(resource) we can use PUT. I guess by mistake these got swapped in your explanation.

DheerajKhatriatgoogle
Автор

Thanks for the video..
What tools are you using for these drawings?

vishnumv