thibaultboursier / relay-modern-use-case

Simple use case with Relay Modern

Home Page:https://relay-modern-use-case.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

relay-modern-use-case

Consuming GraphQL API with Relay in order to display Finland agencies list.

See the demo online

https://relay-modern-use-case.now.sh/

Built With

See Finland agencies GraphQL API here

Getting Started

Prerequisites

  • npm
npm install npm@latest -g

Installation

  1. Clone the repo
git clone https://github.com/thibaultboursier/relay-modern-use-case.git
  1. Install NPM packages
npm install
  1. Run Relay

Remote schema will be fetched and queries will be compiled.

npm run relay
  1. Run server
npm start

Relay DevTools

Install Chrome Relay DevTools in order to inspect queries and see item updates.

About

Simple use case with Relay Modern

https://relay-modern-use-case.now.sh/


Languages

Language:JavaScript 87.3%Language:HTML 12.7%