Before downloading the repo:
On your console, run: Inside the repo folder install the dependencies by running:.
git clone https://github.com/FranFara/Challenge.git
- Inside the repo folder install the dependencies by running:
npm install
- Make sure you have xcode installed and configured.
- Make sure you have android studio installed and configured.
On the project folder do:
- npx react-native run-android
On the project folder do:
- cd ios
- pod install
- after installation of dependencies run: cd ..
- npx react-native run-ios
All the dependencies added to the project are:
Needed for navigation:
@react-native-community/masked-view
react-native-gesture-handler
react-native-reanimated
react-native-safe-area-context
react-native-screens
react-navigation
react-navigation-stack
As it was requested in the requirements I used redux
/react-redux
and redux-thunk
: To be able to make asynchronous dispatches of actions, in this way I was able to call the api and dispatch the received data.
- Avoid additional representation of the items in the list by using
PureComponent
such as SectionList - Increasing the number of characters to start searching