Documentation need to be updated to explain how to set this thing up (create a github app with write access on the blog repository, not OAuth app. And with homepage & callback = https://username.github.io/react-blog-github/)
Things to note:
userClient should be used for request things as the current user
Apollo GraphQL hooks are always done as the repository owner
Finally, it improves some things & delete unused files.
Extra note: I was forced to put https://username.github.io/react-blog-github/ as callback because github doesn't support # in urls
@jvm-odoo Amazing Work 😀. I guess we should also update the readme.md with this that how can user create Github client secret and id and what should be the redirect url.
Added authentication & reactions
Documentation need to be updated to explain how to set this thing up (create a github app with write access on the blog repository, not OAuth app. And with homepage & callback =
https://username.github.io/react-blog-github/
)Things to note:
Finally, it improves some things & delete unused files.
Extra note: I was forced to put
https://username.github.io/react-blog-github/
as callback because github doesn't support # in urlsWorking example: https://jvm-odoo.github.io/react-blog-github/#/
If you see any thing to improve do not hesitate to comment!
Related issue #26