Upload Images / Files to Firebase In React - Firebase V9 File Upload Tutorial
ฝัง
- เผยแพร่เมื่อ 4 เม.ย. 2022
- UPLOAD IMAGES IN REACT USING FIREBASE. In this video I will go over how to use Firebase storage to upload images in React!
Code: github.com/machadop1407/fireb...
Join our Discord: / discord
🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
🐙 GraphQL Course: codedamn.com/learn/graphql-fo...
► Buy Crypto on Coinbase: coinbase-consumer.sjv.io/PedroTech
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: machadopedro.com
Linkedin: / machadop1407
Instagram: / _pedro.machado_
Github: github.com/machadop1407
Business Email: pedro@pedrotech.co
Tags:
- ReactJS Tutorial
- ReactJS and MySQL
- NodeJS Tutorial
- API Tutorial
#reactjs #firebase - วิทยาศาสตร์และเทคโนโลยี
Just adding extra timestamps for me in the future:
1:40 Firestore & project setup
4:10 Neccesary packages
5:00 Storage - get started
6:30 Firebase configuration
Working in the React app
8:30 Adding file input and btns
11:23 Uploading an image(firebase code)
13:25 Randomize image name
14:50 Upload the image to firebase
16:48 How storage works
17:20 Display all images in the React app
23:25 Show new uploaded images automatically
Thanks brother JAZAKALLAH
This was so much easier to understand than the official documentation. Thank you
Ain't dat the truth
you are amazing , clear and concise , i have not seen other tutorial that focuses just on the logic and not building unnecessary frontend stuffs . i can always keep my code original and make extension to more ideas . In short , your way of teaching is pure and phenonmenol.
I haven’t even watched the video but I’m so excited! My favourite tech TH-cam just released the tutorial I’ve been waiting for 🙌🏻
Thank you so so much for this! You manage to make things super clear and easy to understand and it's just great. Thanks again :)
This was really well explained, its clear to see you got a passion! Keep going at it man, its truely great!
Dude, really appreciate the approach. You are a clear-spoken and intelligent individual. Keep it up!
Hey Pedro, I love watching your tutorials. They are easy to follow and explained quite well.
I just had another request, like can you please also make videos on some popular NPM libraries and how to use them in our codebase. That would really be helpful for a lot of people like me who rely on NPM libraries on a daily basis but can't find enough tutorials to fully understand their usage.
this is the video I've been looking for, just simple, easy to understand, thank you
This is the best video on the very basics. A part 2 with a orderBy and delete option would be OP AF.
Thank you Pedro. Been looking for a video like this for a while now.
thanks for the short clear video ,nice ,straight to the point no coners
Thanks Pedro, great video! I have just explored you, I will continue following your videos.
Straight to the point, thanks Padro!
Pedro tech I followed all your firebase tutorial they r all BANGERS I LOVE YOU
Thanks Pedro, of course i will leave the like, its the least i can do for this great content.
Thanks again from Brazil!
Thanks so much a very good description. I was mixing up everything but your explanation was very fruitful
thank you very much for this simple project which helps to easily understand the basic concepts behind the upload process to firebase, I've just recently watched a video to do with this subject, it was simply a nightmare comparing to this one, it was like running without learning to walk :), huge thanks again
Exactly what i was looking for. Great explanation. Thank you
Very good tutorial, you give the pieces to create a cool personal project. Thanks!
I really loved your video!! Thank you for uploading this, it really helped me.
Fantastic video and explaination of how to interact with firebase while using React. Thank you :)
Wow, really nailed the ball with this one, just about to start a project with image file uploading to Firebase. Thanks mate
Awesome to hear!
非常に分かりやすく、学習の助けになりました。ありがとうございます。
You are my role model, thank you for this tutorial Pedro ;)
This is perfect. I was just about to add image uploading functionality to my project. Thanks Pedro!
Glad it was helpful!
@@PedroTechnologies it didnt work
Thanks for this wonderful tutorial. Very clean
i really love watching your LEGENDARY videos with awsome explainaton
hi guy! Thank u so much. This is so much easier to understand than the official docs.
this was awesome thanks for making this. keep making this helpful content 👌👍🙏
Thank you very much man, your videos are the best in the youtube
Thanks a lot. Very clear and easy to understand.
This helped me a lot. Thank you very much!
Awesome explanation 👏 👌 👍
Nice one bro. Caps in the air
fabulous job man
You’re a life saver, you can’t imagine how happy I am😂
Great brother❤️❤️ keep it up. I am your new subscriber❤️
Great video, thanks! I had the pdf file getting doubled up in the loop. Removed Strict mode in index.js, that fixed it.
clear and easy to understand, thanks
Thank you man 👍👍 I got stuck for like two days on tutorial that have firebase 8 not firebase9 so I could not proceed. Thanks again.
Thankyou @PedroTech for this awesome video, it would be nice if you could make a video on how to make sub collections(nested collections) in firebase v9
I used cloudinary on my First project and it was little tedious ,and I was so frustrated to do it again on my second project , And thanks to U I finished my img upload functionality on my second project with no hassles , THAANKS bro
amzing explanation and perfectly structured steps.
Thankyou so much brother. It helped me a lot.
Nice one. Great content.
i implemented this on next js it work thanks alot dear
This is amazingly perfect!
Lovely demonstration
Thankss for explantion. So clear!!
Thanks for this PedroTech. This is subarashi.
Thanks Man. I appreciate your videos
sir g zindabad.. wada wada laav u hogya e qasmay
Super class bro 🔥
Parabéns man!
Video muito bom!
This is the video which one need now my situation. Thanks bruh by the way I am new subscriber of you channel.
Thanks for the sub!
Thank you so much Mr. Pedro.
yo yo all i have to say is I love you and thank you for this!!!!!!!
great video! ty!
a very helpful video. Thank you
Thanks bro! God bless you.
Excellent tutorial
Another awesome video. Really useful for my new project.
Could you please do a video on pagination using firestore?
Nice info, thanks
Much appreciated Bro
SO GOOD!!
thnks bro . realy helpful
worth watching it
This is really awesome, it would be wonderful if you can demo how firebase push notification work 🥰
Thanks bro!! Thanks!
Great video ! Helped a lot. You will be famous one day if you continue the tutorial path.
Do you plan on making a tutorial to upload files without using Firebase ? I have a FTP server and would like to use that instead of Firebase.
Thanks a lot!
you are aweome!
Thank you, this was so helpful! Just a quick question, would it be best to place this code inside a context provider or just have it as a function in a file somewhere on my app?
I'm so happy I came across your channel. I've been searching for videos on various aspects of firebase. Thanks man. Don't know if you mind doing a video on how to link stripe payment gateway to firebase. I'm planning on creating a dummy e-commerce site for my portfolio, and would like to integrate a payment gateway. I tried to get tutorials how to do it, but they are quite confusing.
Still on the payment integration, I noticed most of the tutorials I saw on stripe integration all had to do about firebase cloud functions. Is that the only way to integrate stripe to a web app?
Thanks, man! :)
Thank you!!!
Thank you so much
I have a problem with object creation shown on 20:07 timeline of video. Whenever a new image is uploaded a different object is created instead of incrementing the key of the existing object. Please help me with this problem.
Thankyou pedro
this video is very helpfull for me
u can also put imageList as dependency of useEffect so that the page refreshes as new files are uploaded right?
Thanks a lot bro :) !
this is the best video on the planet! why use drive api when you can do the same but in the easiest way possible🤩
Thanks!
your are by far the best on TH-cam. Just have a question. Is it possible to do this without using firebase?
Great!! Regards from Brasil :)
for mapping the files, do we always use the "url" or is there another thing that we can use it to loop in
thanks for your content
Thank you! Would like to know if you can include sending an excel file to the backend (fire base or any) and validate its extension and size
you rock!
U BEST!!!
Hello Pedro thanks for the video, What if I want to upload multiple images at ones ?
i followed your guide and it work very well, except there is one thing. The image keeps being duplicated many time. Any fix for this. I have checked all the code in your video but no clue.
Bro you just gave me a new idea about my new API project......
Thank you
i HAve updated the rules section but after running the app it is showing warning of " Missing Permission " due to firestore , and every time i run the app , a dialog box appears showing this and i need to close that then i am able to access the app , if it keeps that wway then i think it will have problems in deploying the app
thanks 👍
what if i want to have a search bar for the user to search for a specific file and then display that file. how can i do that
Thanks
Thank bro
LEGEND
I tried going through both the docs and your video but for some reason i can't display the images from the results of the download link function...though when i paste the url i get from the download link function the image downloads ...so i am not sure whats happening..