Create a UI web application that retrieves and displays the user repositories and organizations 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
To make things easier we have committed a github-api.js file with the REST APIs needed to retrieve the information.
- 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
- A nice UI using a component library (Bootstrap, Ant Design, Material UI or another?)
You may choose to do this project in Vue, React, Angular, or use vanilla Javascript.
In the vue
folder is a fresh project created with Vue CLI.
cd vue && npm run serve
In the react
folder is a fresh project created with create-react-app
.
cd react && npm start
In the angular
folder is a fresh project created with Angular CLI using the SASS stylesheet option.
cd angular && npm install && ng serve
In the vanilla
folder you will find an index.html and index.js file.
We are using ParcelJS as a web application bundler.
cd vanilla && parcel index.html