Here's the code from the tutorial!: github.com/AndyUGA/Supabase_Tutorial/blob/file_upload/src/App.js You can also download the full source code for this tutorial and all of my other side project tutorials for free here: andystechtutorials.gumroad.com/l/nqzzox
hi thanks for great tutorial! All things worked except I am getting empty image file on my upload part and after other uploads how can I get rid of first empty one?
At 1:58 you created a bucket with the name "test". At 2:27 you creates policies for the "test" bucket. But at 2:40 on line 46 in the uploadImage function, why the bucket name is "upload" instead of "test" ? Should the bucket name not be "test" instead of "uploads" ?
users can only select their own files. they cannot run a query and get all the urls of files that are updated by others. making the bucket public on the other hand makes those URL's accessible by anyone. so it can only be accessed by anyone that has the URL already.
@@AndysTechTutorials I think he is referring to his code, I have the same response and is driving me crazy too. Idk what's happening, I'm using NextAuth instead supabase auth, could that be the problem?
Here's the code from the tutorial!: github.com/AndyUGA/Supabase_Tutorial/blob/file_upload/src/App.js
You can also download the full source code for this tutorial and all of my other side project tutorials for free here: andystechtutorials.gumroad.com/l/nqzzox
Thanks brother, you might not realize the gravity of my appreciation , but you really helped me a lot
Glad I could help!
thanks dude nice short set of tutorials strait to the point
Thank you for very fast and effective tutorial. Good work!
Hey @timattracts, thanks for the nice comment!
Thank you
thank you so much, this helped a lot
It's really helpful.
Thanks a lot!
Hey @josejaimes4965, glad you found this tutorial helpful!
hi thanks for great tutorial! All things worked except I am getting empty image file on my upload part and after other uploads how can I get rid of first empty one?
the image URL is hard coded , is there a way to retreive a valid URL for each user?
At 1:58 you created a bucket with the name "test".
At 2:27 you creates policies for the "test" bucket.
But at 2:40 on line 46 in the uploadImage function, why the bucket name is "upload" instead of "test" ? Should the bucket name not be "test" instead of "uploads" ?
I was using “test” as an example but in the code I used “uploads” since I already wrote the code before making the tutorial
I want to make the existing file to be updated not add a new file? How can we do that
If users can only access their own files, why does the bucket need to be public?
users can only select their own files. they cannot run a query and get all the urls of files that are updated by others.
making the bucket public on the other hand makes those URL's accessible by anyone. so it can only be accessed by anyone that has the URL already.
What if i don't want to use usee authentication here ? Can i do that without getting useid ?
Hey @capK29, you don't need to use user authentication to upload files to supabase which also means you don't have to get the userid
@@AndysTechTutorials Thanks bro 🙏
The 'Bad Request' response is driving me crazy.
Hey @jarndev, which part of the video are you seeing "Bad Request"?
@@AndysTechTutorials I think he is referring to his code, I have the same response and is driving me crazy too. Idk what's happening, I'm using NextAuth instead supabase auth, could that be the problem?
Nice video♥️
@memesforyou9167, you're welcome! Glad you found this tutorial helpful!
Thanks alot
Hey Fabian! You’re welcome!
great!
Hey Danieljsanders! Thanks for the comment!
Im so tired finding the error
Great Man really helped out!
Hey Archit, glad this tutorial helped you! Please consider subscribing for more content!