Table of Contents
-
Github provides APIs to access public repos. Link: https://developer.github.com/v3/search/
-
Using these APIs you have to complete the following tasks in react native:
Create a search field, which queries on public repos. Fetch the data of the repos and create a card for each.
-
Following are the details, the card needs to have:
Avatar, Repo name, Stars, Description, language A Sort field with the following options- Stars, watchers count, score, name,created_at, updated_at.
Please get your GitHub API Persnal Access Token and use it is requests by replacing it with <YOUR_AUTH_TOKEN>
in the request headers.
Please install node@LTS
- update npm to latest versiob
npm install npm@latest -g
Follow the below steps to install & run the project in you enviroment.
- Clone the repo
git clone https://github.com/SiddheshKukade/repo-search-github.git
- Install NPM packages & dependancies
npm install
- For Android Virtual Device (Start Android Emulator before running this command)
npm start android
-
- For iOS Simulator Device (Start iOS Simulator before running this command)
npm start ios
Please use this link if video is not supported : https://www.youtube.com/watch?v=lPgjKB5912o
GitHub.Search.App.Demo.By.SiddheshKukade.webm
Distributed under the MIT License. See LICENSE.txt
for more information.
Siddhesh Bhupendra Kukade - [email protected]
Project Link: https://github.com/SiddheshKukade/repo-search-github/
Links to resources used in this project.