Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 839 Bytes

DOCUMENTATION.md

File metadata and controls

34 lines (22 loc) · 839 Bytes

Relay Starter Kit

This kit includes an app server, a GraphQL server implementing a tiny example schema, and a transpiler that you can use to get started building an app with Relay. For a walkthrough with a slightly larger schema, see the Relay tutorial.

Installation

npm install

Running

Start a local server:

npm start

Developing

Any changes you make to files in the js/ directory will cause the server to automatically rebuild the app and refresh your browser.

If at any time you make changes to data/schema.js, stop the server, regenerate data/schema.json, and restart the server:

npm run update-schema
npm start

License

Relay Starter Kit is BSD licensed. We also provide an additional patent grant.