Home

Awesome

Offline Examples

A collection of example applications using react-relay-offline.

and

A collection of example applications using @wora/apollo-offline.

Relay

React

cd relay/todo-updater
yarn
yarn build
yarn start

React Native

cd relay/react-native/todo-updater/src/relay
modify file: index.ts

const localIP = "SETLOCALIP"

with your local ip
cd relay/react-native/todo-updater/server
npm install
npm run start
cd relay/react-native/todo-updater
npm install
npm run start
cd relay/react-native/todo-updater
npm run android

Apollo

React

cd apollo/todo/client
npm install
npm run start
cd apollo/todo/server
npm install
npm run start

React Native

cd apollo/react-native/todo/src/apollo
modify file: index.ts

const localIP = "SETLOCALIP"

with your local ip
cd apollo/react-native/todo/server
yarn
yarn start
cd apollo/react-native/todo
yarn
yarn start
cd apollo/react-native/todo
yarn run android