Introduction

This project was made for HK01 offsite test.

This project was bootstrapped using react-native init.

Following node packages were used for development:

  1. redux
  2. react-redux
  3. redux-thunk
  4. redux-logger
  5. react-navigation

How to run

Clone this project and run the following command in project root to install dependencies:

npm install

Or with yarn:

yarn install

Run in development environment (react-native-cli need to be installed globally):

react-native run-ios  // for ios

react-native run-android // for android

How to test

This project includes basic rendering test for all components. To run the tests, simply run:

npm test

Or with yarn:

yarn test

in the project root.

How to build

Since building react-native apps for production requires some setup (such as code signing) individually. Please refer to the detailed steps in the official documentation.

However, to run in release configuration, please use the following commands:

npm run production-ios    // iOS
yarn run production-ios   // or iOS with yarn

npm run production-android // Android
yarn run production-android // or Android with yarn

Screenshots

Loading Screen

Home Screen

Search Screen

App Screen

Android Home Screen

Android App Screen