This repository is a first draft from the GraphQL Golden Path Initiative.
The goal is to help authors of GraphQL software (clients, servers, gateways,
tooling, registries, observability platforms) converge on a shared set of
default behaviors, configuration options, and error language that should lead to
the long term success of their users.
This is not intended to be guidance for application developers who write
GraphQL queries. The audience is the people who build the tools and frameworks
those developers use.
The long-term aim is that GraphQL tooling can provide a consistent, safe, and
predictable “golden path” out of the box, while still allowing experts to opt
out with informed intent.
The Golden Path isn’t aiming to maximize upside (e.g. the absolute most
performant or lowest latency or most efficient), instead it is aiming to
minimize downside - if a user does not invest time in studying all GraphQL’s
solutions up front, they should still end up with a solution that is “good
enough” 6 months down the road.
This repo is intended to enable collaboration across the GraphQL ecosystem. If
you maintain GraphQL tooling or have strong opinions on defaults, please open
issues or pull requests with suggested solutions, problems, and configuration
details.
Make sure you have yarn installed:
npm install -g yarn
To install the dependencies
yarn
To start the website in development mode:
yarn start
To build for production:
yarn build