louiseibuna / SeniorProject

1 stars 1 forks source link

Support user input for repo name #23

Closed cminaacruz closed 4 years ago

cminaacruz commented 4 years ago

We need to be able to support user input from the front end:

  1. User enters repo name
  2. Repo name paths:
    • repo is public --> data retrieved
    • repo is private --> show error message that states that repo cannot be accessed
cminaacruz commented 4 years ago

This depends on #15

cminaacruz commented 4 years ago

Already implemented a text box. Need to figure out how to retrieve data.

louiseibuna commented 4 years ago

https://reactjs.org/docs/forms.html

louiseibuna commented 4 years ago

https://www.freecodecamp.org/forum/t/getting-an-input-value-when-form-is-submitted-react/161870/3

louiseibuna commented 4 years ago

https://github.com/the-road-to-graphql/react-graphql-github-vanilla

louiseibuna commented 4 years ago

WIP commit. The repo above helped Carmina and I with fetching data but I need to get our version to get PR's.