Github instant search implementation using reactjs , type in the search box and the list of users will populate down , user can also choose how many users to show in the list and paginate, Features implemented in the project
- An input box that takes users input
- The input box to hold a progress bar, which indicates that the search is in progress.
- The results appear are paginated if we have more than
n
results. The valuen
can be chosen dynamically. - The search query is memoized, which means that if the user has previously searched for
John
and the API has provided me valid results for that query, then next time when the user typesJoh
, there should be suggestion for the user with the previously memoized values(in this caseJohn
would be suggested)
- Clone the repo using
git clone https://github.com/revaret/githubUserSearch.git
- Navigate into the root directory and do
npm install
- To run the project do
npm run serve
- Now goto http://localhost:8080 to play with the project