PeopleInTheOffice
Cross-platform mobile app designed to answer the question "Am I the last person left in the office?". Powered by React Native.
Based on jhen0409/react-native-boilerplate.
Included
- React & React Native v0.34
- Redux & Remote Redux DevTools & On Debugger
- Immutable & Immutable DevTools
- Babel & Plugins: transform-decorators-legacy
Installation
See Getting Started to install requirement tools.
$ npm install -g react-native-cli
$ npm install
Development
Start local server
$ npm start
iOS
Run command to open iOS simulator and run app:
$ npm run ios
Or open ios/PeopleInTheOffice.xcodeproj
file with XCode:
$ npm run ios-open
Android (5.0+)
Open Android emulator (recommended Genymotion) and run command: (Or connect real device via USB)
$ npm run android
DevTools
In development mode, you can install React Native Debugger as default debugger. if not install, it will use Remote Redux DevTools and On Debugger.
Test
We used react-native-mock, and test with Mocha, Enzyme.
$ npm test