graphql 은 API 를 정의하는 쿼리언어
- shema definition language
graphql concepts
graphql working process between server and client
- client write query for fetching the data
- server receives that query
- server call the resolver function that related with fields that are specified in the query’s payload
- when the resolver function invoke, return data values for the fields
- server response the data values for client’s query
- client render the data through components
graphql getting started
- define data set
-
define GraphQL schema
- type
-
root fileds
- Query
- Mutation
- Subscription
- other types
- define a resolver