explaingit

moonhighway/schema-design-workshop

Analysis updated 2026-07-16 · repo last pushed 2024-06-05

49Audience · developerComplexity · 2/5DormantSetup · easy

TLDR

A hands-on training course that teaches you how to design GraphQL schemas, the blueprints that define what data an API exposes and how clients interact with it. Includes slides, sample schemas, and a build-it-yourself Pet Library API project.

Mindmap

mindmap
  root((repo))
    What it does
      Teaches GraphQL schemas
      Pet Library API project
      Online sandbox option
    Course content
      Slides and examples
      Ski resort schema
      Camp and countries APIs
    Key concepts
      Types and fields
      API relationships
      Federated schemas
    Audience
      Developers learning GraphQL
      PMs exploring APIs
    Resources
      Cheat sheet
      Production GraphQL book
      Yelp style guidelines

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Work through a step-by-step Pet Library API project to practice designing a GraphQL schema from scratch.

USE CASE 2

Study sample schemas like a ski resort, camp, and countries API to see real examples of well-structured APIs.

USE CASE 3

Use the online sandbox to experiment with GraphQL queries without installing anything on your computer.

USE CASE 4

Explore federated schemas to learn how multiple separate APIs can be combined into one unified gateway.

What is it built with?

GraphQLJavaScript

How does it compare?

moonhighway/schema-design-workshopboardeentrance/zapret-discord-youtube-1.9.9adeepelementlab/jupyter-studio
Stars494949
LanguageBatchfileTypeScript
Last pushed2024-06-05
MaintenanceDormant
Setup difficultyeasymoderateeasy
Complexity2/52/52/5
Audiencedevelopergeneraldata

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

An online sandbox is available so you can try the project with zero setup, though using your own code editor requires a standard JavaScript environment.

No license is included in the repository, so reuse rights are unspecified by the author.

In plain English

The Schema Design Workshop is a training course repository that teaches you how to design GraphQL schemas, the blueprints that describe what data an API exposes and how clients can interact with it. It is a companion repo for a workshop led by Eve Porcello through Moon Highway Training. GraphQL is a query language for APIs that lets front-end applications request exactly the data they need. A schema defines the types, fields, and relationships available. This repo gives workshop participants a single place to find course slides, sample schemas, and a hands-on schema project. The project is built around a Pet Library API, which you can work on in your own code editor or in an online sandbox that requires no setup. The schema evolves through stages, starting from a basic version and building toward a complete one. The audience is developers learning GraphQL, particularly those who want to move beyond basic queries and think about how to structure an API that other teams can use effectively. A product manager or founder exploring GraphQL might also find the sample schemas useful for understanding what a well-designed API looks like. The included examples, a ski resort API, a camp API, and a countries API, give concrete starting points for practice. The repo also touches on federated schemas, where multiple separate APIs are combined into a single gateway that clients can query as one unified service. This is an increasingly common pattern at companies with many teams and services. Beyond the project itself, the repo curates external resources like a cheat sheet, a book on production-ready GraphQL, and real-world style guidelines from Yelp, helpful references for anyone looking to understand what good schema design looks like in practice.

Copy-paste prompts

Prompt 1
Help me design a GraphQL schema for a Pet Library API that lets users browse pets by type, check them in and out, and track their history. Start with basic types and build up to a complete schema.
Prompt 2
Show me how to structure a GraphQL schema for a ski resort with lifts, trails, and weather data. Include relationships between types and example queries a client might run.
Prompt 3
I want to combine several GraphQL APIs into a single gateway using federated schemas. Walk me through how federation works and how to set up a basic example with two services.
Prompt 4
Review my GraphQL schema and suggest improvements based on common style guidelines like the ones Yelp publishes for production APIs.

Frequently asked questions

What is schema-design-workshop?

A hands-on training course that teaches you how to design GraphQL schemas, the blueprints that define what data an API exposes and how clients interact with it. Includes slides, sample schemas, and a build-it-yourself Pet Library API project.

Is schema-design-workshop actively maintained?

Dormant — no commits in 2+ years (last push 2024-06-05).

What license does schema-design-workshop use?

No license is included in the repository, so reuse rights are unspecified by the author.

How hard is schema-design-workshop to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is schema-design-workshop for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.