React Interview Project

This is a small project for a react interview.

Goal

Create a React application that retrieves and displays the user repositories and organisations in Github.

UX/UI

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.

Retrieving data

Use the GitHub v4 GraphQL API: https://developer.github.com/v4/ We recommend using Apollo Client.

Bootstrapping the project

Up to you, we recommend create-react-app.

Submitting the solution

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.

Bonus (don't need to be in the below specific order)

  • 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