This is the companion repo to the blog post about GraphQL with Typescript.
Go to file
2021-12-31 09:39:03 +01:00
src initial push 2021-12-31 09:39:03 +01:00
static initial push 2021-12-31 09:39:03 +01:00
.gitignore initial push 2021-12-31 09:39:03 +01:00
.graphqlrc.yml initial push 2021-12-31 09:39:03 +01:00
.npmrc initial push 2021-12-31 09:39:03 +01:00
codegen.yaml initial push 2021-12-31 09:39:03 +01:00
package.json initial push 2021-12-31 09:39:03 +01:00
pnpm-lock.yaml initial push 2021-12-31 09:39:03 +01:00
README.md initial push 2021-12-31 09:39:03 +01:00
svelte.config.js initial push 2021-12-31 09:39:03 +01:00
tsconfig.json initial push 2021-12-31 09:39:03 +01:00

A sane and efficient guide for consuming GraphQL endpoints in Typescript

This is the companion repo to the blog post about GraphQL with Typescript.

This is skeleton svelte kit app. The relevant files are:

  • .graphqlrc.yml
  • codegen.yaml
  • src/lib/gql

Running

pnpm i

pnpm run generate # Generate GraphQL stuff
pnpm run dev