ShooterArk / RNPhoneArena

React native application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phone Arena

A react native application to show phone models and their details such as price, description, color, ram and manufacturer.


Prerequisites

  1. You need to install react-native-cli. Execute npm install -g react-native-cli.
  2. For testing, you need to install detox, npm install -g detox-cli

How to run the app

  1. Clone the git repository git clone git@github.com:ShooterArk/RNPhoneArena.git.
  2. Run npm install to install node_modules.
  3. For android, to run the application, execute command react-native run-android
  4. For ios, you first need to execute pod install and then execute command react-native run-ios or you can

Testing

For testing purpose, we are using detox. If you have installed detox-cli (as mentioned in prerequisites) then you need to follow the detox documentation (https://github.com/wix/Detox/blob/master/docs/Introduction.GettingStarted.md) to complete the configuration.

Once detox configuration is complete, run the command to validate the tests.

detox test --configuration android

Ps. you need to mention configuration-name after --configuration. for this command I am using android, for ios you need to replace --configuration ios in the above command.

Demo app url

I have created an apk and uploaded it here. You can download and checkout the application. https://drive.google.com/file/d/1RuGVX7sMLH-64ExDVeSPlRBhoMV5LLOk/view?usp=sharing

That's it, please contact me if you want to be a contributor.

About

React native application


Languages

Language:JavaScript 52.7%Language:Java 24.2%Language:Objective-C 14.3%Language:Starlark 6.1%Language:Ruby 2.7%