Skip to main content

GraphQL Schema

GitHub Repo: https://github.com/CrossCopy/crosscopy-graphql-schema

Default Branch is develop

For now, the default branch is develop. All links on this page also links to the develop branch. Later on, I will update the default branch to main.

Introduction

GraphQL is a query language for APIs. It is very powerful. With a properly defined schema, you know the input format, response format without writing documentation.

Since GraphQL is typed, it can be used to generate TypeScript types and query calls. I use GraphQL Code Generator to generate TypeScript code.

Plugins can be used to generate all kinds of TypeScript code.

I like to use TypeScript and TypeScript Operations for types, and TypeScript GraphQL-Reuqest to generate query calls.

See codegen.yml for all plugins used.

CICD

GitHub Workflows

WorkflowAction URLWorkflow File
Test Buildtest-build.ymltest-build.yml
Publish Packagepublish.ymlpublish.yml