Design philosophy and components leverage Material UI
- Clone repository locally
yarn installto install all dependencies- Create
.envfile locally at root and add personal GitHub token- How to create personal access token
- View sample.env as an example for the variable
VITE_GITHUB_TOKEN
yarn run devto start the development server (vite)
- To search for a Users repositories append the desired Username to the URL, ie: http://localhost:8080/webpack
- The
Homepage displays the most popular repositories by selectable Language button - Each
Userpage displays an Avatar and a paginated list of repositories. Each is selectable and will link to the respective User/Repository when clicked - Dark/Light theme is implemented with a toggle in the Header component. Desired setting is persisted to localStorage
Tests are leveraging Cypress for Component level testing
- Running component tests locally (headless)
$ yarn run test-component
- View tests in Browser (select Component)
$ yarn cypress open
Current application does not utilize a proper backend server to handle external data fetching with authentication. For Production usage a dedicated backend should be leveraged.