Demonstrates GraphQL with Apollo code generation. ✨
Start off by installing dependencies:
yarn
Start the base GraphQL server:
yarn start
You'll then be able to view the GraphQL API server at http://localhost:4000/graphql.
Next, in a separate terminal, you can trigger code generation based off that GraphQL server:
yarn gql
Generated types will then exist in src/generated/graphql.ts
.