A react-native graphql sample project to fetch the top forked repositories of the user.
iOS : XCode(11.2) onwards
Android : Android Studio(3.5) with gradle(6.2) onwards
Editor : Visual Studio Code
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
- Open the project directory in to terminal
- 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.
- Run iOS app
- Make sure to use the valid Github Access Token before you run this project
- Open app/config/ApolloConfig file
- Update authorization as 'Bearer [Github Access Token Here]'