https://github.com/rricard/mobilesync
React-Native application that uses GraphQL & Relay to sync a filesystem
https://github.com/rricard/mobilesync
Last synced: 4 months ago
JSON representation
React-Native application that uses GraphQL & Relay to sync a filesystem
- Host: GitHub
- URL: https://github.com/rricard/mobilesync
- Owner: rricard
- Created: 2015-10-08T06:28:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-15T08:36:35.000Z (over 9 years ago)
- Last Synced: 2025-03-02T17:12:37.778Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 303 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MobileSync
[](https://circleci.com/gh/rricard/MobileSync/tree/master)
[](https://codeclimate.com/github/rricard/MobileSync)React-Native application that uses GraphQL & Relay to sync a filesystem
## Install
```
npm i -g react-native-cli
git clone [email protected]: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:

In our situation though, we'll not implement it completely.
### GraphQL Schema / Interface
GraphQL will expose a few types to query the filesystem.
