Offline Examples Save

Relay and Apollo Offline Examples

Project README

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

  • change local ip address
cd relay/react-native/todo-updater/src/relay
modify file: index.ts

const localIP = "SETLOCALIP"

with your local ip
  • start server relay
cd relay/react-native/todo-updater/server
npm install
npm run start
  • Starts the server that communicates with connected devices
cd relay/react-native/todo-updater
npm install
npm run start
  • Run android
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

  • change local ip address
cd apollo/react-native/todo/src/apollo
modify file: index.ts

const localIP = "SETLOCALIP"

with your local ip
  • start server relay
cd apollo/react-native/todo/server
yarn
yarn start
  • Starts the server that communicates with connected devices
cd apollo/react-native/todo
yarn
yarn start
  • Run android
cd apollo/react-native/todo
yarn run android
Open Source Agenda is not affiliated with "Offline Examples" Project. README Source: morrys/offline-examples
Stars
49
Open Issues
188
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating