GraphQL sample.
By storing data in a JSON file, the data used in GraphQL can be variable.
If you want to change the data definition other than Book, you need to change the following files. (not verified)
query.graphql
resolver.ts
schema.graphql
types.ts
use method
$ git clone https://github.com/Otazoman/graphql-example.git
$ cd graphql-example
$ npm ci
$ npm start