Developer Advocate
Web / Mobile / VR / AR / IoT
GDE, author, consultant
A query language for your API
Description of resource is coupled to implementation
Overfetching
Underfetching
chaining requests to server to get needed data
Avoid over-fetching
Prevent multipe API calls
Lesser communication with API developers
Self-documenting
type Post {
title: String!
content: String!
user: User!
}
type Person {
name: String!
address: String
posts: [Post!]!
}
Tip: If you are not sure with how to write GraphQL syntax use Explorer feature
open source and free engine that gives you auto-generates real-time GraphQL API on top of new or existing Postgres database
Go to hasura.io
Click on Get started with Heroku
Click on
Enter your app name
Click on deploy button
Click on View app
Follow https://learn.hasura.io/graphql/hasura to configure Hasura for your backend
Follow https://learn.hasura.io/ to build a frontend app
@VladimirNovick