git clone https://github.com/alloy/relay-local-executor.git
cd relay-local-executor
yarn install
yarn start
To compile the GraphQL documents, run relay-compiler in a separate shell:
yarn relay --watch
Also be sure to install the recommended vscode extension.
- Schema Definition: the schema
- Schema Resolvers: the implementations of schema fields
- Relay Environment: where Relay sends requests to the local GraphQL executor