You can find the docs here
- Clone the repo
- Run
npm install
- Copy
.env.dev.example
to.env
- Set
ETH_HTTP_ENDPOINT
to your ethereum node json rpc endpoint (Mainnet: https://mainnet.infura.io/btn_dev | Ropsten: https://ropsten.infura.io/btn_dev | Rinkeby: https://rinkeby.infura.io/btn_dev) - Set
PRODUCTION
to true/false.
- Get cocoapods
- Go to the
ios
folder - Run
pod install
- Go back to the project root and run
npm run ios
- Run
npm run android
- We use this branching model. Make sure to read it.
- PLEASE prefix your commit's with a topic like this:
[git] blacklisted .idea
- Write test's for your code
- A github issue is created and tagged with "Needs Review". Needs Review mean that the issue need's to be reviewed by a teammeber. E.g. If it's about design by David. If it's about backend by Florian and so on.
- After the issue is reviewed and ready to get solved remove the "Need's review" label and add the "Reviewed" label. That show's an dev's that the issue is ready to get solved.
- When you decide to work on an specific reviewed issue assign it your self and start working on it.
- After you worked on the issue and it's done create a pull request and place a reference to the issue in the pull request body. Make sure that the CI is passing and select someone who reviews the pull request.
- After you created the pull request you are almost done. The reviewer will ping you if there is a problem with the pull request.
We are using:
- Redux for state management.
- Redux-Saga for handling asynchronous state changes.
- React Native Navigation for truly native navigation.
- Lodash for great preset of utility functions on data structures.
- Jest for unit testing.
- Enzyme for snapshot testing.
- Detox for end-to-end testing. Checkout docs for more infromation.
- ESLint for checking code style and quality. Checkout docs for more information.
./src/actions
contains actions contants and action creator functions../src/assets/images
contains all images. It's preferred to keep @2x and @3x files for iOS devices with different scale factor../src/components
contains all common components../src/global
contains constans like images, colors and screens../src/reducers
contains reducers and initial states../src/sagas
contains sagas (see Redux-Saga)../src/screens
contains screen components../src/services
contains services../src/utils
contains functions that is useful in different parts of the app../__tests__
contains all the tests