GitHub Repositories With Search Functionality

This is a simplified version of GitHub Repositories, where you can filter by github username and display their repositories in a list. It is also possible to filter through the list of repositories by the name of the repository and by the programming language.

Getting started

  1. create a .env file and paste the personal access token.
REACT_APP_GITHUB_TOKEN=<YOUR PERSONAL ACCESS TOKEN>
  1. Install dependencies
npm install
  1. Start the development server
npm start

How to run test

npm test

Future improvements

add pagination

Currently, it only retrieves first 100 repositories of a user.

optimizing search

When the user stops typing, there should be few seconds of delay before the search to start. Currently the query is called everytime the user changes the value of input.

add error boundary

When an error occurred when retrieving data, an error message should be displayed.