Github API interview app built with React
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd githubapi-interview
yarn
yarn start
- Visit your app at http://localhost:3000.
This project uses endpoints from the github public API which you can use without authentication, but it is rate limited. If you are hitting the rate limit and want to try it with authentication, you may follow these optional instructions to configure that.
Create a personal access token by visiting your Github Developer settings page.
- Click
Generate new token
- Add a note of what this token is for
- You will only need to enable the following scopes
- Under
repo
, enablepublic_repo
- Under
user
, enableread:user
- Under
- Save the token by clicking
Generate token
This will give you an access token. Be sure to copy it before doing anything else.
To use within the app, copy the .env.sample
file into .env.local
.
$ cp .env.sample .env.local
Replace the username value with your github username and the token value with the newly generated token.