Skip to content

React-Native application that uses GraphQL & Relay to sync a filesystem

Notifications You must be signed in to change notification settings

TribeMedia/MobileSync

 
 

Repository files navigation

MobileSync

Circle CI Code Climate

React-Native application that uses GraphQL & Relay to sync a filesystem

Install

npm i -g react-native-cli
git clone git@github.com:rricard/MobileSync.git
cd MobileSync
npm i

Run

npm start # production
npm run develop # development

And then, in an another terminal:

react-native run-android

Or you can build the project in XCode.

Test & contribute

flow
npm test
npm run lint

Don't forget to check those before sending a PR. Note that flow checks failing inside React Native are OK.

Architecture

MobileSync is broke down in two dependent parts: the GraphQL file server and the React/Relay client.

Underlying FileSystem Model

Here is the most flexible filesystem authorization system we could create:

FileSystem Model

In our situation though, we'll not implement it completely.

GraphQL Schema / Interface

GraphQL will expose a few types to query the filesystem.

GraphQL Schema

About

React-Native application that uses GraphQL & Relay to sync a filesystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.8%
  • Objective-C 18.3%
  • Java 7.5%
  • Shell 6.4%