React native app to search github users info using graphql v4 github api and mark them favorite.
#To run locally
- git clone https://github.com/codesinghanoop/react-native-graphql-githubApp.git
- cd react-native-graphql-githubApp
- npm install
- go to ios folder to install pods, from root dir of project run - cd ios then pod install
- To run on ios platform run 'react-native run-ios'
- For android 'react-native run-android';
Note:- In react native versions you don't need to run server explicitly it will be handled by step 4 and 5 above.
Note:- In constants/endpoints.js file add your github access token
Note:- Please add local.properties file in your android folder like below
- Go to the android/ directory of your react-native project
- Create a file called local.properties with this line: sdk.dir = /Users/USERNAME/Library/Android/sdk
Where USERNAME is your OSX username