It's a shame that useful videos like this one don't get more likes. Thank you very much for this. Edit: I just saw that you have a playlist on react firebase. Please continue what you're doing, we need more people like you.
@FullstackSimplified2 жыл бұрын
Thanks for your support. Really appreciate it
@programming_tech_zone96132 жыл бұрын
Truly, this video is so nice if i had a way to support, I will not waste a thousandth of a second
@lokesh-webdev2193 жыл бұрын
Cleared all the confusion in just 10 mins tutorial. You are a champ bro. You truly saved my day. Thank you sooo sooo much bro.
@FullstackSimplified3 жыл бұрын
Thanks alot for watching. Really means alot 🔥🔥
@michealbailey63723 жыл бұрын
This is a great video on storing images in firebase. I've been running around the internet for the past day trying to figure out how to get it done, but it seemed like all the content was out of date. This tutorial saved me a lot of trouble. Thanks again.
@FullstackSimplified3 жыл бұрын
Really appreciate your feedback. Thanks for watching
@itsrubydoyle2 жыл бұрын
I was having trouble with the Firebase documentation but this video has been so helpful! Thank you!
@FullstackSimplified2 жыл бұрын
Thanks for watching 🔥
@itsrubydoyle2 жыл бұрын
@anona lol Yeah I'm definitely having a lot of trouble getting things working - I haven't made much progress since this comment as it's hard to find good resources. Net Ninja has a good intro series on his channel, but it doesn't cover enough. His Udemy course has been really good, but it's also outdated. Would love to know if you find any good resources!
@jeffreykolenchery18723 жыл бұрын
Followed a lot of tutorials but this one finally worked! Thanks a lot!!
@FullstackSimplified3 жыл бұрын
Thanks for watching. Really appreciate
@bushcommander22052 жыл бұрын
Dude - this worked straight away which pretty much never does! :D Subscribed : )
@FullstackSimplified2 жыл бұрын
Thanks for subscribing. 🔥🔥🔥
@singh03ashish3 жыл бұрын
Happy diwali sir.... Diwali pe bhi video pe kaam... Dedication level 🔥🔥🔥
@FullstackSimplified3 жыл бұрын
Thanks alot. And happy diwali 🎇
@jahbless82442 жыл бұрын
Great video, you just saved my life, I was reading the documents and after a long time searching, I found your video.
@FullstackSimplified2 жыл бұрын
Thanks for your support 🔥
@techjourneyrecoded41143 жыл бұрын
Thanks for the new video on Firebase v9. Great tutorial 🔥
@FullstackSimplified3 жыл бұрын
Thank you
@evanbero97052 жыл бұрын
Awesome! Thank you! Man, great tutorial. I was having such a headache with v9 and combing through Firebase docs. Thank you for simplifying this. Liked and subscribed
@FullstackSimplified2 жыл бұрын
Thanks for the support! Really appreciate it 🔥🔥
@introvertedperson232 жыл бұрын
wow dude this was amazing. straight to the point and easy to follow along. much appreciated, thank you!! :)
@FullstackSimplified2 жыл бұрын
Thanks for watching 🔥🔥
@matheuslasserre64993 жыл бұрын
the best of the best, saved my latenight work, thank you so much!
@FullstackSimplified3 жыл бұрын
Glad it helped! Thanks for watching
@sujitgoswami33193 жыл бұрын
wonderful video for IT Students.
@marcelafelixfortis9353 жыл бұрын
thanks! much better than documentation! would love to see a version where you manipulate the metadata and also set some custom metadata
@FullstackSimplified3 жыл бұрын
Sure! Thanks for watching
@omonullausmonjonov6250 Жыл бұрын
Bu darsdan koʻp narsa oʻrgandim rahmat kottakon
@tahep390611 ай бұрын
thanks a lot for covering this complex subject, it works flawlessly
@FullstackSimplified11 ай бұрын
Really glad it helped
@sissyyayle05173 жыл бұрын
Thanks for you excelent explain! You save me on this part of my project!! Thanks again!!
@kritigoswami73823 жыл бұрын
Very helpful content again 🙂
@FullstackSimplified3 жыл бұрын
Thanks alot 🤩🤩
@thomaschalanson86433 жыл бұрын
Thanks very much i begin with firebase and with your tutorial it's was simple :)
@FullstackSimplified3 жыл бұрын
Thanks for watching 🔥
@sujitrockstar2213 жыл бұрын
Beautiful contents useful for all IT students
@FullstackSimplified3 жыл бұрын
Thank you
@codemedic Жыл бұрын
Thanks a lot for making this video, Its so precise and bulk with information 🎉🎉🥳🥳👍👍.
@FullstackSimplified Жыл бұрын
Glad you liked it
@danielojeda77533 жыл бұрын
Excellent video man.. Thank you
@FullstackSimplified3 жыл бұрын
Thanks for watching 🔥
@DurgeshKr223 жыл бұрын
YOU ARE A LIFE SAVER MAN!
@FullstackSimplified3 жыл бұрын
Thanks alot for watching
@lokesh53712 жыл бұрын
Thank you very much dude , it works 😀👌
@MetilmaXI2 жыл бұрын
Very useful, thank you. I followed your video and got my test-app working in minutes & was able to use that info for my intended project! May I suggest you look into using a .env file to protect your firebase credentials from showing up your public github repo? I'm hesitant to leave API keys on public repos - but that's your preference.
@FullstackSimplified2 жыл бұрын
Yes surely you can use .env for firebase config. Just for the demonstration I have kept it public and since I have already deleted the project from my firebase console so any ways the api key won’t be usable. But thanks for observation. Really appreciated
@gulay32033 жыл бұрын
thank you, my app worked!
@acemalto42022 жыл бұрын
can you make part 2 of that using downloading data in firebase
@knowledgegeeks39012 жыл бұрын
you saved my life! the documentation is not clear unlike your video i have a question> what is the difference between setDoc() and the method you have used in this video
@FullstackSimplified2 жыл бұрын
Hey thanks for your feedback!! Really appreciate it. Coming to your question setDoc is a method used in firebase firestore (not firebase storage) to add data.
@ithen152 жыл бұрын
can you make a video of listing all the elements in storage and downloading them ?
@FullstackSimplified2 жыл бұрын
Sure. Stay tuned
@immeatom3 жыл бұрын
Love the content.
@FullstackSimplified3 жыл бұрын
Thanks for watching
@isuruudana33303 жыл бұрын
Thank you very much, Sir !!! you are a real lifeguard 😊😊😊
@FullstackSimplified3 жыл бұрын
Thanks for watching 🔥
@Jack-ss4re2 жыл бұрын
10:34 I write console.log(url) and it gives me a working url in Storage, but when doesnt work when i do setImage(url), it pass a empty string, do you know why or how can i fix that?
@FullstackSimplified Жыл бұрын
Please share the code snippet for the same. It will give me more clear context on this.
@trapster67452 жыл бұрын
thank u so much for sharing, much needed
@FullstackSimplified2 жыл бұрын
Glad it helped. Thanks for watching
@loxplosion952 жыл бұрын
@@FullstackSimplified how did you get local host?
@kosmedsuporte3 жыл бұрын
Nice video, man ! When you create functions, they receive some kind of yellow line, what extension is that one?
@FullstackSimplified3 жыл бұрын
Bracket Pair Colorizer
@alexanderpapashvili53473 жыл бұрын
good tutorial! well done
@olubiyioluga15842 жыл бұрын
I have spent up to two days trying to figure this out. T han you so much for the video. It was amazing. I do need advice, the image is being saved in the storage however it isn't displaying in the storage, its there but i xan't see the actual image. I know it has to do with the file format from expo image picker. I need to convert it to bytes, aby ideas on how to do this? Thank you
@FullstackSimplified Жыл бұрын
Glad it was helpful!
@mdtamizuddin42692 жыл бұрын
Very useful, thank you
@FullstackSimplified2 жыл бұрын
Thanks for watching
@Bayazzitt2 жыл бұрын
Since there are 2 ref plugins, it gives the following error. Can you help please? import { set, ref, } from "firebase/database"; import { getDownloadURL, uploadBytesResumable, ref,} from 'firebase/storage'; Terminal : Parsing error: Identifier 'ref' has already been declared.
@FullstackSimplified2 жыл бұрын
You can try alias named import. Something like this import { set, ref as dbRef } from "firebase/database"; import { getDownloadURL, uploadBytesResumable, ref as storageRef} from 'firebase/storage';
@akshaikumar79663 жыл бұрын
thank you so much ,this helped a lot
@FullstackSimplified3 жыл бұрын
Thanks for watching
@thecareercoach2313 жыл бұрын
Great content 👍
@FullstackSimplified3 жыл бұрын
Thanks alot
@jknyt2 жыл бұрын
Thank you, man!
@kevinclayton97472 жыл бұрын
nicely done, thank you sir
@FullstackSimplified2 жыл бұрын
Thanks for watching!!
@AbdulQadir00973 жыл бұрын
Hey, this video helps me a lot, but will you please tell me how to display that picture on the web page. Like a person login from the firestore collection and authentication and how do I display his picture as a profile pic.
@FullstackSimplified3 жыл бұрын
You can store the download url of the picture in the users collection and then use it when user logs in. There's another way if you just want to store the img for profile picture only. You can do this by simply setting the display image for your authenticated user by updating the user profile. Follow this for more - firebase.google.com/docs/auth/web/manage-users#update_a_users_profile
@elendil45433 жыл бұрын
God bless you , thank you brother
@FullstackSimplified3 жыл бұрын
Thanks for watching 🔥
@_WyreZ2 жыл бұрын
Awesome tutorial, thank you! Is it possible to access Google Cloud Storage (not Firebase Storage) using reactjs?
@FullstackSimplified2 жыл бұрын
Typically you need to have a Backend written where you should use google cloud storage, as using it directly in your frontend will expose you secret api keys.
@_WyreZ2 жыл бұрын
@@FullstackSimplified Makes sense. Thank you! :)
@shrishsharma83333 жыл бұрын
Hey There, Thanks for this solution. But please hear me out, I want to post a picture along with a caption text to firestore. so, the imageURL will be sent to storage, and caption text to firestore. but i am getting errors in doing so. can you please provide some implementation to this
@FullstackSimplified3 жыл бұрын
You can store the image to firebase storage then get the download url. Then in the Firestore you need to store the url caption and other details you want. Then everything can be fetched from the Firestore in one go. Apart from this if you just want to have a caption to your image you can just update the meta data of the image with your custom metadata. Implementation can be found here firebase.google.com/docs/storage/web/file-metadata
@loxplosion952 жыл бұрын
could you do a video just like this but not for react. just for plain javascript and firebase?
@FullstackSimplified2 жыл бұрын
Sure will do that!! Stay tuned
@loxplosion952 жыл бұрын
@@FullstackSimplified but please make it work. I see KZbinrs on here that do fire base tutorials and it’s 20222 but for the tutorial they are using fire base 2018
@loxplosion952 жыл бұрын
@@FullstackSimplified thanks!
@danielguerrero84603 жыл бұрын
Wow, finally, thank you very much. I have seen several videos and could not find the solution. How can we download the image with the V9?
@FullstackSimplified3 жыл бұрын
You can directly use the download url in the img element
@danielguerrero84603 жыл бұрын
@@FullstackSimplified thanks you so much
@engineermaxwel67323 жыл бұрын
Hello Bro , Could you do a video on how to send the downloadURL to the real-time database?
@FullstackSimplified3 жыл бұрын
Sure I'll try to make one asap
@engineermaxwel67323 жыл бұрын
@@FullstackSimplified I appreciate Bruh
@Mysterio99992 жыл бұрын
How can we fetch this image and use it along with some textual data from the database , like i want to create a card with title , image and description, so the image come from the storage but how can I use title and description which comes for the firebase store and use all this with map function to map all the cards and display them
@FullstackSimplified2 жыл бұрын
Hi. You can store the image download url in the database along with other data you have and then you can simply use the url from the response in img src
@hamzapaskingakhtar2 жыл бұрын
Hey man great video. I need help. I'm going to use firebase storage to upload files. But I also want to store that url into mongodb, instead of just console.log(url). How can I do that? Sorry I'm a beginner
@FullstackSimplified2 жыл бұрын
Once you get the download Url for the uploaded file you can make a request to your backend with the URL as a payload and then in your backend you can store the same in the MongoDb. Note- Connecting your MongoDB directly to your frontend can be a security issues as you will expose your db api keys and credentials to the public
@hamzapaskingakhtar2 жыл бұрын
@@FullstackSimplified Thanks for the reply. Another Question bro. What if I want to upload multiple files. Like Select 1 file then upload like we did here. Staying on the same page. Select another file and upload. Select 3rd file then upload. If that makes sense
@scripter96072 жыл бұрын
This works, however the end is cut short and retreiving the url doesnt work, ive tried it with a global variable and still doesnt work
@FullstackSimplified2 жыл бұрын
Hi. You can take a look at the complete code of the project. Links will be in the description.
@scripter96072 жыл бұрын
@@FullstackSimplified I checked it out however, I still cant get to find the way to retreive the url variable outside of the function. I want to be able to add the url to a document in the firestore so I can download it into the UI latter
@somunelavalli3 жыл бұрын
Hi i am getting error like this Permission denied. Please enable Firebase Storage for your bucket by visiting the Storage tab in the Firebase Console and ensure that you have sufficient permission to properly provision resources.
@FullstackSimplified3 жыл бұрын
Have you set up storage in your firebase project and set the security rules ? Please follow the video from 04:10
@tashinamgay79222 жыл бұрын
Thank you so much for the video. Can someone tell me how to upload an image and an audio together through a single form along with a the name of the song (user specified). Something like an online music player. I've been stuck here for days pls helpp.
@FullstackSimplified2 жыл бұрын
You have to upload them separately. Then you can store the download URL for both the files in Firestore or realtime database. Something like { name : "Song name", albumArt : , audio : }
@tashinamgay79222 жыл бұрын
@@FullstackSimplified thank youuu. I did just that and it worked but I've to create some sort of a pause between uploading the file and adding the doc to firestorm. Currently my adddoc and uploading runs simultaneously so an empty string gets uploaded to firestore since uploading takes some time
@FullstackSimplified2 жыл бұрын
You need to add the doc after you receive the download url in that callback
@anjanhr1614 Жыл бұрын
Thank you sooooooooooooooooooooooooooooo Much.
@FullstackSimplified Жыл бұрын
You're welcome!
@anonymouspersonal91362 жыл бұрын
How about if we want to have a button that downloads the file that we uploaded directly to our machine
@FullstackSimplified2 жыл бұрын
You may try this Download
@CodewithVoran3 жыл бұрын
Thanks buddy
@FullstackSimplified3 жыл бұрын
Thanks for watching
@yennhinguyen19922 жыл бұрын
hi, i follow your instruction and got this error: "Uncaught ReferenceError: ref is not defined" at the line const storageRef = ref(storage, `/images/${image.name}`); what is wrong?
@FullstackSimplified2 жыл бұрын
Have you imported ref from Firebase storage package?
@dreamArmy34 Жыл бұрын
hey I want to store two images so how can i achieve that please guide me
@FullstackSimplified Жыл бұрын
You can select 2 images from the file picker by making it accept multiple images. Then you can loop over the selected images and call the upload function for all the selected images. Or if you want to select one photo at a time then you can open the file picker twice and upload the selected photos one by one using the same upload function
@dreamArmy34 Жыл бұрын
@@FullstackSimplified Actually I was planning to create separate file picker for both images like profileImage and CoverImage. So will I have to create separate handleImageChange Functions ? Or it can be done in one function itself?
@FullstackSimplified Жыл бұрын
You can use the same function for both. Only thing you need to take care is defining different firebase path/location while uploading the photo
@dreamArmy34 Жыл бұрын
@@FullstackSimplified Thanks!
@filipeleonelbatista2 жыл бұрын
This video help me againd 2x
@FullstackSimplified2 жыл бұрын
Thanks for watching again!!
@aryangupta8392 жыл бұрын
The file is not opening when I download it from the link or directly from firebase storage. How do I fix this issue ?
@FullstackSimplified2 жыл бұрын
It should open, can you share which type of files are you uploading
@aryangupta8392 жыл бұрын
I tried uploading pdf and jpg. Also after uploading it shows the file size as 9B for every file I upload
How can i save a video in storage and call it in my react app . Where it will play like youtube. Where the files loads in chunks.
@FullstackSimplified2 жыл бұрын
Well you can do so by transcoding your video into smaller chunks and uploading it to firebase storage. Then you can store the chunk detials in firestore and download chunks as the video progress. But this would be really expensive so i would suggest to use some 3rd party solutions like Vimeo or ziggeo. You can also use webrtc of you have your own backend
@c-far70502 жыл бұрын
@@FullstackSimplified thanks
@allans12122 жыл бұрын
Hello i have an issue the file is uploaded to my firebase store but appear 9b size and i cant open it.. can you help me?
@FullstackSimplified Жыл бұрын
Do check the file extension, is it corrupted?
@crazyiron90032 жыл бұрын
Can you do multiple image upload ? And it will be saved in an array.
@FullstackSimplified2 жыл бұрын
You can use Promise.all to upload multiple images after selecting them
@crazyiron90032 жыл бұрын
@@FullstackSimplified can you please do a video for it ? It will be really helpful for us beginners. Thank you
@uzzal74 Жыл бұрын
THANKS IT HELPED ME sUSCCRIBED
@FullstackSimplified Жыл бұрын
Thanks for subscribing
@Human_Evolution-2 жыл бұрын
Well, where is the picture!? We must know how to display the image.
@FullstackSimplified2 жыл бұрын
You can use the download url in the image element
@Human_Evolution-2 жыл бұрын
@@FullstackSimplified Thanks.
@aftereffectstraining7668 Жыл бұрын
good explantion
@FullstackSimplified Жыл бұрын
Glad you liked it. Thanks for watching
@praisegodudeh69133 жыл бұрын
How to import more than one picture? More than one input?
@FullstackSimplified3 жыл бұрын
Well in firebase you can only upload 1 file at a time. If you want to upload multiple files you will have to loop over your files one by one and upload them using the loop. You can also use Promise.all to resolve the all the promises and then get an array of response
@mohamedyoussef88352 жыл бұрын
Awesome video +++++++++++++++++++++++ Thank you
@FullstackSimplified2 жыл бұрын
Many thanks!!
@akshaikumar79663 жыл бұрын
multiple files are not getting uploaded, can you tell the solution for this, please
@FullstackSimplified3 жыл бұрын
Firebase doesn't allow to upload multiple files. You will have to use loop to upload one by one.
@keremesen20783 жыл бұрын
thanks sir 31.comment
@zhanezar2 жыл бұрын
how do i delete a folder in storage?
@FullstackSimplified2 жыл бұрын
Hi. You can create a ref to the folder you want to delete. Then you can use deleteObject(your_ref) to delete
@eduardosalles92122 жыл бұрын
thanks!!!
@thachnguyen59573 жыл бұрын
thanks
@kllokoq2 жыл бұрын
What happens if two files have the same name? Why isn't that really important thing addressed here? One way is to use uid of a currently authenticated user which we can get from auth.currentUser.uid. If your app has multiple files to upload such as cover letter, resume etc they should probably point to different folders. If the user reuploads any of them it will rewrite the previous file in the storage and not fill your storage with duplicates.
@FullstackSimplified2 жыл бұрын
Authentication was not covered in this video. It was more about the basics of file uploading. For the file name you can use any thing which suits your application architecture to avoid duplicates or file over riding
@robx_0012 жыл бұрын
you got a like
@FullstackSimplified2 жыл бұрын
Thanks alot. Really appreciate your support 🔥
@michaeldriscoll60472 жыл бұрын
thank you :')
@FullstackSimplified2 жыл бұрын
You're welcome
@gonzalolarrica39012 жыл бұрын
i love you
@FullstackSimplified2 жыл бұрын
Thanks for watching
@asharma7412 жыл бұрын
Simple tutorials are best tutorials. Keep it up! @wesome
@FullstackSimplified2 жыл бұрын
Thanks for watching 🔥
@qwyzex52102 жыл бұрын
cool.
@subhashnayak88953 жыл бұрын
how to download the file??
@FullstackSimplified3 жыл бұрын
Using the download URL which we get from firebase after successful uploading of file
@subhashnayak88953 жыл бұрын
@@FullstackSimplified thanks bro how to create sessions for users After signing in ??
@subhashnayak88953 жыл бұрын
Using firebase authentication
@FullstackSimplified3 жыл бұрын
Firebase already does that for you. If you still want to override you can refer here firebase.google.com/docs/auth/admin/manage-sessions
@subhashnayak88953 жыл бұрын
@@FullstackSimplified thank you bro u saved me
@simply_just_better2 жыл бұрын
My screen is now black
@FullstackSimplified2 жыл бұрын
Hey there thanks for watching! Can you please share more info about the error!!
@pagevpetty3 жыл бұрын
Uncaught (in promise) ReferenceError: useState is not defined
@FullstackSimplified3 жыл бұрын
Have you imported useState from the react package? Please check