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 install
Create 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 default
Build / transform components which are using graphql / relay
yarn run relay
yarn start
This version is using older Relay version 10.0.1
:
Working version of React + Relay application written in JavaScript: