# Shopify/graphql-design-tutorial

Repository: https://github.com/Shopify/graphql-design-tutorial
Canonical: https://ross.abutalabs.com/products/graphql-design-tutorial
License: MIT
License Family: permissive
Last push: 2025-01-23T15:27:15+00:00

## Health v2 (maintenance only)
Score: 34/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 3, release rhythm 35, longevity 100
- inputs: {"age_days": 2907, "days_push": 587, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2458, forks 187 (observed 2026-08-28T04:06:53.338337+00:00)

## What it is
A public version of Shopify's internal GraphQL API design tutorial, based on lessons from evolving production schemas over years. It provides design guidelines and best practices for creating GraphQL APIs.

## Use cases
- learn how to design a GraphQL schema
- best practices for designing GraphQL APIs
- guidelines for evolving production GraphQL schemas
- naming conventions for GraphQL types and fields
- deciding between interfaces and unions in GraphQL
- designing pagination for GraphQL APIs

## When to choose
- you are building a new GraphQL API and want battle-tested design guidelines
- you want to review or standardize schema design conventions across a team
- you are learning GraphQL schema design from real production experience

## When to avoid
- you need executable code, libraries, or tooling rather than written guidance
- you need rules that apply universally without exceptions
- you need an up-to-date specification rather than opinionated guidelines

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, api-framework, graphql
- domain: apis, web-development, tutorials, documentation
- platform: -
- tags: graphql-schema-design, api-design-guidelines, tutorial

## Member repositories
- Shopify/graphql-design-tutorial (main) score 34

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:53.338337+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:29:22.600090+00:00, confidence not recorded.
  - readme: https://github.com/Shopify/graphql-design-tutorial (fetched 2026-08-28T04:06:53.338337+00:00, sha 3a76645aacb7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
