Before getting started with Relay, bear in mind that we assume that the following infrastructure has already been set up, as well as some level of familiarity with the topics below.
Relay is a framework for data management with the primary supported binding for React applications, so we assume that you are already familiar with React.
We also assume basic understanding of GraphQL. In order to start using Relay, you will also need:
A GraphQL Schema
A description of your data model with an associated set of resolve methods that know how to fetch any data your application could ever need.
GraphQL is designed to support a wide range of data access patterns. In order to understand the structure of an application's data, Relay requires that you follow certain conventions when defining your schema. These are documented in the GraphQL Server Specification.
A GraphQL Server
Any server can be taught to load a schema and speak GraphQL. Our examples use Express.
Is this page useful?
Help us make the site even better by answering a few quick questions.