Skip to main content
Version: v15.0.0

Prerequisites

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.

JavaScript​

Relay is a framework built in JavaScript, so we assume familiarity with the JavaScript language.

React​

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.

GraphQL​

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.

  • graphql-js on npm

    General-purpose tools for building a GraphQL schema using JavaScript

  • graphql-relay-js on npm

    JavaScript helpers for defining connections between data, and mutations, in a way that smoothly integrates with Relay.

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.