Intro
I just read about GraphQL and it’s quite good, very nice for the Flask API that I sometimes post here. This language will speed up the API by reducing the number of requests.
GraphQL
It’s basically a Query language for your api > there logo.
Well, with it you can speed-up the client and the server, faster than the REST approach way, especially that situation that you need to do subsequent queries on the same item.
You get only one request, instead of several – with a schema like this:
Example – with person: the original one was book (3:28)
type Person(id:27){
String name
String Address
}
Complete Course on youtube
The complete course is on youtube using MongoDB as the database, react as front-end and Node.js as back-end. The video has about 4hours but it is amazing