- React Native Navigation (wix) to build a robust and fluid navigation
- Apollo with a GraphQl client
- React Native I18n to care about the translations
- React Native 51 version (Last react native version supported by React Native Navigation)
- Jest and enzyme to build the tests
All the code is build using eslint rules
I build the tests to coverage all containers and components
First of all, install node, preferably with nvm.
Then install yarn. This is not optional...
MacOS
brew update && brew install watchman
- Xcode
After all set up, run the following command.
yarn
- Copy the file in: app/configs/env.example.js
- Rename to env.js
- Set the END_POINT and TOKEN variables with data send by you
Done!
Start Server This will start a development server.
yarn start
Build to iOS Build your project for iOS.
yarn run ios
Build to Android Build your project for Android.
yarn run android
Unit Tests Run Tests.
yarn test
or if you change a component's code...
yarn test -u
Test coverage page is available at /coverage/lcov-report/index.html
.