mobile-simformsolutions / react-native-github-graphql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimformRN

Project Desctiption

A react-native graphql sample project to fetch the top forked repositories of the user.


Prerequisites

iOS : XCode(11.2) onwards

Android : Android Studio(3.5) with gradle(6.2) onwards

Editor : Visual Studio Code

How to Setup Project

Step 1: Clone this repository.

Step 2: Go to the cloned repo and open it in termianl.

Step 3: Install the dependencies with $ yarn

Step 4: Run the yarn script to install the cocoapods $ yarn podinstall

How to Run the Project

  1. Open the project directory in to terminal
  2. Run and build for either OS
    • Run iOS app
      yarn ios
    • Run Android app
      yarn android
    • Note: This yarn scripts will lint your code first. If there are no lint errors, then it will run the ios or android app. Otherwise it will show the lint errors in the terminal.

Note

  • Make sure to use the valid Github Access Token before you run this project
    1. Open app/config/ApolloConfig file
    2. Update authorization as 'Bearer [Github Access Token Here]'

About


Languages

Language:JavaScript 66.8%Language:Java 13.5%Language:Objective-C 9.6%Language:Starlark 4.2%Language:Handlebars 3.8%Language:Ruby 2.2%