GraphQL

All

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s