c-hive / dotdev

Next.js SPA professional website template for teams and individuals: https://c-hive.github.io/dotdev/
MIT License
0 stars 1 forks source link

Use Octkit for Github API #97

Open nkapolcs opened 4 years ago

nkapolcs commented 4 years ago

Prerequisite: #25

Use octokit/rest instead of fetch the github api.

gomorizsolt commented 4 years ago

Please make sure it's possible to use the package without authentication.

Authentication is optional for some REST API endpoints accessing public data, but is required for GraphQL queries.

https://octokit.github.io/rest.js/v17#authentication

It's supposed to be used that way according to the docs.

thisismydesign commented 4 years ago

We should prefer no-auth at this point

gomorizsolt commented 4 years ago

We should prefer no-auth at this point

Yep, sure, it was just a side note.