This is a sample app for understanding a bit more of how GraphQL resolvers function. We are using @graphql-codegen/cli for generating types and resolver stubs using the typescript and resolvers plugins.
There are log statements in each reasolver so you can see how resolvers get run based on your operation.
Once all the requirements are installed/setup:
- Install Dependencies
pnpm install --frozen-lockfile
- Run GraphQL Codegen CLI
pnpm run codegen
- Start the dev server
pnpm run dev
- Head to http://localhost:8000/graphql to see the GraphQL playground
💙 This package was templated with
create-typescript-app
.