Implement a single page application using React. Keep your code in version control, create a public GitHub repository.
Please don't use Next.js!
- Use the GitHub v4 GraphQL API to fetch information about a given user's repositories
- The user name should come from an input field and should be persisted as a query parameter whenever the input changes (eg. link as http://localhost:3000?user=tothandras)
- Add a search button to execute the query or auto execute it when the input changes
- The list elements should show the following information: name, short description, is it a fork?, last commit date, issue count, pull-request count
- The list elements should be an external link to the repository
- Use pagination for the list (consider user experience, for example: disable next button when there is no more pages) (https://relay.dev/graphql/connections.htm)
- Show placeholder for an empty list, when the user input is empty or there are no repositories for the given user
- Show an error message when there is no user with the given name
- Provide documentation for how to run your application locally (README.md)
- Let your imagination fly: UX, styles, other functionalities