The goal of this challenge is to build a GitHub repository finder app.
Please use the GitHub GraphQL API Endpoint with the Apollo Client.
To prevent you from wasting time to setup the environment: we use Create React App.
You only have to insert your GitHub Authentication Token in App.js#11
You can start the app with npm start
.
https://developer.github.com/v4/
If you have any questions, don't hesitate to ask. You don't have to complete all steps. Have fun! We are curious to see your result.
Add a search field. The user uses this field to search for a repository. Depending on the query, the app suggests possible repositories (name).
Upon confirmation, the repository should be added to a card view with following information:
- name
- owner with name and picture
- forkCount, watchers, stargazers
It would be great if the app has loading states.
Add the possibility to delete a card.
Save the repository selection so that the user can see the previous selection next time.
- pagination for dropdown list
- links from card to github
- toggle list onChange, instead of on button click
- figure out why dotenv isnt working