React Native + GraphQL + Koa + Relay Modern
Simple app using React Native + React Navigation + Relay Modern + GraphQL + Koa
Due the purpose of just applying the most basic concepts, no UI was implemented.
Build an endpoint to your database and add it to both files:
For this example I used Mlab but you can use a local DB
yarn
yarn create-schemas-dir
yarn generate-schema
yarn seed
yarn start
yarn
yarn get-schema
yarn relay --watch
react-native run-ios
react-native run-android
If everything works as expected, you should see a list of sessions
. You can see the details of a single session, add a new session or edit an existing one
From this point you can move further and experiment greater things like refetchContainer, connections, subscriptions, pagination, cache, and so on