Document Management Application built with React-Native
- Mac OS X
- Homebrew
- NodeJS
- Yarn (optional)
- Windows
- NodeJS
- Yarn (optional)
- Mac OS X
- Download Xcode from
App Store
. - Download
Android Studio
(optional). - Install
watchman
with$ brew install watchman
. - Install
react-native-cli
withnpm i -g react-native-cli
.
- Download Xcode from
- Windows
- Download
Android Studio
(optional). - Install
watchman
by following instructions here. - Install
react-native-cli
with$ npm i -g react-native-cli
.
- Download
- Ensure you have completed the steps above.
- Clone this repository.
- Change your directory with
$ cd DMS-Mobile/
. - Install dependencies with
$ npm i
oryarn
. - Ask a contributor for
settings.json
- iOS
- Start application with
$ react-native run-ios
.
- Open
ios/
- Find and open
dms.xcodproj
. - Click
play
icon in Xcode.
- Start application with
- Android
- Start application with
$ react-native run-android
.
- Open
android/
in Android Studio. - Allow
gradle
to finish building. - Click
Run
and selectRun app
from dropdown.
- Start application with
Unit Tests for components are setup using Jest and can be ran locally using the command below:
$ npm test
├── _tests_
├── actionTypes
│ ├── newConatants.js
├── android
├── assets
│ ├── styles
│ ├── styles.js
├── components
│ ├── shared
│ ├── SomeSharedComponent.react.js
│ ├── NewComponent.react.js
├── config
│ ├── routes
│ ├── routes.js
├── ios
├── private
│ ├── data
│ ├── settings.json.example
├── reducers
│ ├── newReducer.js
├── requests
└── util
- Create your branch off master as follows
YOUR_NAME/TYPE/FEATURE-DETAIL
. - Make sure all tests are passing and add new test where necessary.
- Commit your changes and make a Pull request to master.
Found something out of place or a feature request please create an issue here