List of Quotes with Authors implemented in React + Relay.
You can use either PHP or Node as a backend.
yarn install
# or if you use npm
npm installCreate src/config.ts or rename src/config.example.ts and make sure it contains your server's graphql endpoint url:
export default {
graphql: 'http://localhost:3013/graphql',
};For this, you need to have graphql-cli installed.
graphql get-schema --project quotes -e defaultBuild / transform components which are using graphql / relay
yarn run relayyarn startThis version is using older Relay version 10.0.1:
Working version of React + Relay application written in JavaScript: