Open batunpc opened 1 year ago
Thank you for your comments @humphd please let me know if I should do any other change for this PR
I have filed follow-up issue regarding your comment, and will be raising PR soon.
Thank you @humphd I have implemented the suggested change 👍
Fixes https://github.com/humphd/my-photohub/issues/33
As discussed in the issue, current behavior of the app is completely isolated from
github-upload
function usingOctokit
. Which was implemented at https://github.com/humphd/my-photohub/pull/11This PR integrates the "upload images to authenticated repo using
github-upload
" functionality into the front-end, as it was programmatically written for client side.Steps to reproduce
First create an public repository with the desired name.
Next, navigate to Settings > Developer settings > PAT > Tokens(Classic) to create a
brand-new token
. Ensure you have provided PAT permission to the created repository from step 1.After token is created you can start the app with
npm run start
and follow the rest of the steps. After you have uploaded an supported type image and click onupload
, you will seeraw
directory within the repo you have created. It will look something like this.