This is a small project for a react interview.
Create a React application that retrieves and displays the user repositories and organisations in Github.
Up to you, probably it should include an input to enter the username, one area to display the repositories of the user and another area to display the organisations.
Use the GitHub v4 GraphQL API: https://developer.github.com/v4/ We recommend using Apollo Client.
Up to you, we recommend create-react-app.
Copy this repository to a repository on your own github account and add the solution there. Show good branching and committing strategy, open a pull request with the solution, and add Sean as a reviewer (@seanmctex). It should be clear how to build and run the project locally.
- Use ES6 syntax including arrow functions, destructuring and async/await
- Adding a spinner when information is loading
- Deal with errors coming from the backend
- Some sort of Unit Test
- Some sort of Integration Test
- Having a nice UI using a components library (Bootstrap?)
- Divide the application in different pages and use a router
- Show common tools used for you daily development environment (linters, code formatter, git workflow, docker and so on)
- Deploy the project somewhere