Consuming GraphQL API with Relay in order to display Finland agencies list.
https://relay-modern-use-case.now.sh/
See Finland agencies GraphQL API here
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/thibaultboursier/relay-modern-use-case.git
- Install NPM packages
npm install
- Run Relay
Remote schema will be fetched and queries will be compiled.
npm run relay
- Run server
npm start
Install Chrome Relay DevTools in order to inspect queries and see item updates.