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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 231

  • @pablom8854
    @pablom8854 7 หลายเดือนก่อน +10

    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

  • @Lorkisen
    @Lorkisen ปีที่แล้ว +49

    This was so much easier to understand than the official documentation. Thank you

  • @victorvondoom2350
    @victorvondoom2350 2 ปีที่แล้ว +2

    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.

  • @itsdazychain
    @itsdazychain 2 ปีที่แล้ว +1

    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 🙌🏻

  • @alessiapiscopo
    @alessiapiscopo 2 ปีที่แล้ว +3

    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 :)

  • @Andreas-hy7ob
    @Andreas-hy7ob 2 ปีที่แล้ว

    This was really well explained, its clear to see you got a passion! Keep going at it man, its truely great!

  • @eleazarhernandez805
    @eleazarhernandez805 5 หลายเดือนก่อน

    Dude, really appreciate the approach. You are a clear-spoken and intelligent individual. Keep it up!

  • @VickTechPro
    @VickTechPro 2 ปีที่แล้ว +3

    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.

  • @ibrokhimkhayitmirzaev6713
    @ibrokhimkhayitmirzaev6713 ปีที่แล้ว

    this is the video I've been looking for, just simple, easy to understand, thank you

  • @Human_Evolution-
    @Human_Evolution- ปีที่แล้ว +2

    This is the best video on the very basics. A part 2 with a orderBy and delete option would be OP AF.

  • @QuayneBrown
    @QuayneBrown 10 หลายเดือนก่อน

    Thank you Pedro. Been looking for a video like this for a while now.

  • @ethenGold
    @ethenGold 2 ปีที่แล้ว +2

    thanks for the short clear video ,nice ,straight to the point no coners

  • @mericakgul
    @mericakgul 2 ปีที่แล้ว

    Thanks Pedro, great video! I have just explored you, I will continue following your videos.

  • @marcelomalagra1613
    @marcelomalagra1613 2 ปีที่แล้ว +2

    Straight to the point, thanks Padro!

  • @alexandrewilk2000
    @alexandrewilk2000 2 ปีที่แล้ว +1

    Pedro tech I followed all your firebase tutorial they r all BANGERS I LOVE YOU

  • @victorross5524
    @victorross5524 ปีที่แล้ว

    Thanks Pedro, of course i will leave the like, its the least i can do for this great content.
    Thanks again from Brazil!

  • @md.nayeemhasanadil5938
    @md.nayeemhasanadil5938 ปีที่แล้ว

    Thanks so much a very good description. I was mixing up everything but your explanation was very fruitful

  • @tahep3906
    @tahep3906 11 หลายเดือนก่อน

    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

  • @TheOhmagad
    @TheOhmagad ปีที่แล้ว

    Exactly what i was looking for. Great explanation. Thank you

  • @angelecg
    @angelecg 2 ปีที่แล้ว

    Very good tutorial, you give the pieces to create a cool personal project. Thanks!

  • @fearquare
    @fearquare 3 หลายเดือนก่อน

    I really loved your video!! Thank you for uploading this, it really helped me.

  • @thatosrsdude4831
    @thatosrsdude4831 2 ปีที่แล้ว

    Fantastic video and explaination of how to interact with firebase while using React. Thank you :)

  • @ngonimugumwa6374
    @ngonimugumwa6374 2 ปีที่แล้ว +2

    Wow, really nailed the ball with this one, just about to start a project with image file uploading to Firebase. Thanks mate

  • @HI-ks4pr
    @HI-ks4pr 2 ปีที่แล้ว

    非常に分かりやすく、学習の助けになりました。ありがとうございます。

  • @wojteknowak8946
    @wojteknowak8946 ปีที่แล้ว

    You are my role model, thank you for this tutorial Pedro ;)

  • @joshuaborseth
    @joshuaborseth 2 ปีที่แล้ว +3

    This is perfect. I was just about to add image uploading functionality to my project. Thanks Pedro!

    • @PedroTechnologies
      @PedroTechnologies  2 ปีที่แล้ว +1

      Glad it was helpful!

    • @dvlnx.
      @dvlnx. 2 ปีที่แล้ว

      @@PedroTechnologies it didnt work

  • @michelsegnon
    @michelsegnon ปีที่แล้ว

    Thanks for this wonderful tutorial. Very clean

  • @codewithdevhindi9937
    @codewithdevhindi9937 ปีที่แล้ว

    i really love watching your LEGENDARY videos with awsome explainaton

  • @casiotoiuuofficial6245
    @casiotoiuuofficial6245 7 หลายเดือนก่อน

    hi guy! Thank u so much. This is so much easier to understand than the official docs.

  • @JitenderMediaX
    @JitenderMediaX วันที่ผ่านมา

    this was awesome thanks for making this. keep making this helpful content 👌👍🙏

  • @Joseph-do9ue
    @Joseph-do9ue 2 ปีที่แล้ว

    Thank you very much man, your videos are the best in the youtube

  • @felicia499
    @felicia499 10 หลายเดือนก่อน

    Thanks a lot. Very clear and easy to understand.

  • @mihaimc99
    @mihaimc99 11 หลายเดือนก่อน

    This helped me a lot. Thank you very much!

  • @teminoah2960
    @teminoah2960 ปีที่แล้ว

    Awesome explanation 👏 👌 👍
    Nice one bro. Caps in the air

  • @kartikyadav571
    @kartikyadav571 ปีที่แล้ว

    fabulous job man

  • @victortimi
    @victortimi ปีที่แล้ว

    You’re a life saver, you can’t imagine how happy I am😂

  • @monirhossainrabby7259
    @monirhossainrabby7259 2 ปีที่แล้ว

    Great brother❤️❤️ keep it up. I am your new subscriber❤️

  • @andersbraathen1256
    @andersbraathen1256 ปีที่แล้ว

    Great video, thanks! I had the pdf file getting doubled up in the loop. Removed Strict mode in index.js, that fixed it.

  • @travahnetshisaulu3101
    @travahnetshisaulu3101 ปีที่แล้ว

    clear and easy to understand, thanks

  • @anazi
    @anazi ปีที่แล้ว

    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.

  • @bhavyakumar5799
    @bhavyakumar5799 2 ปีที่แล้ว +1

    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

  • @aswinkashok6213
    @aswinkashok6213 2 ปีที่แล้ว

    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

  • @anhtungle1554
    @anhtungle1554 2 ปีที่แล้ว

    amzing explanation and perfectly structured steps.

  • @findmyreligion
    @findmyreligion ปีที่แล้ว

    Thankyou so much brother. It helped me a lot.

  • @georgeolufemi4285
    @georgeolufemi4285 2 ปีที่แล้ว +1

    Nice one. Great content.

  • @rebazjabar7660
    @rebazjabar7660 ปีที่แล้ว

    i implemented this on next js it work thanks alot dear

  • @rameshsrivastavachandra
    @rameshsrivastavachandra ปีที่แล้ว

    This is amazingly perfect!

  • @Buddhism1123
    @Buddhism1123 ปีที่แล้ว

    Lovely demonstration

  • @comcatcom8829
    @comcatcom8829 ปีที่แล้ว

    Thankss for explantion. So clear!!

  • @keiferramos8858
    @keiferramos8858 ปีที่แล้ว

    Thanks for this PedroTech. This is subarashi.

  • @supercoolcat7692
    @supercoolcat7692 ปีที่แล้ว

    Thanks Man. I appreciate your videos

  • @talalkhan1873
    @talalkhan1873 7 หลายเดือนก่อน

    sir g zindabad.. wada wada laav u hogya e qasmay

  • @shamseerpv9488
    @shamseerpv9488 2 ปีที่แล้ว +1

    Super class bro 🔥

  • @13hpca
    @13hpca ปีที่แล้ว

    Parabéns man!
    Video muito bom!

  • @ashikmahmud4076
    @ashikmahmud4076 2 ปีที่แล้ว +3

    This is the video which one need now my situation. Thanks bruh by the way I am new subscriber of you channel.

  • @fionagonza8829
    @fionagonza8829 ปีที่แล้ว

    Thank you so much Mr. Pedro.

  • @joza5422
    @joza5422 2 ปีที่แล้ว +1

    yo yo all i have to say is I love you and thank you for this!!!!!!!

  • @BrunoOliveira-Bling
    @BrunoOliveira-Bling 11 หลายเดือนก่อน

    great video! ty!

  • @mohamedhakim8336
    @mohamedhakim8336 6 หลายเดือนก่อน

    a very helpful video. Thank you

  • @xlgabriel
    @xlgabriel 8 หลายเดือนก่อน

    Thanks bro! God bless you.

  • @lipocodes2273
    @lipocodes2273 ปีที่แล้ว

    Excellent tutorial

  • @poorna_recharla
    @poorna_recharla 2 ปีที่แล้ว +1

    Another awesome video. Really useful for my new project.
    Could you please do a video on pagination using firestore?

  • @aysommer
    @aysommer ปีที่แล้ว

    Nice info, thanks

  • @EliAsikaro
    @EliAsikaro ปีที่แล้ว

    Much appreciated Bro

  • @albertoginelsalvador2172
    @albertoginelsalvador2172 ปีที่แล้ว +1

    SO GOOD!!

  • @daniishhhh
    @daniishhhh ปีที่แล้ว

    thnks bro . realy helpful

  • @MadroadFact
    @MadroadFact หลายเดือนก่อน +1

    worth watching it

  • @maskman4821
    @maskman4821 2 ปีที่แล้ว

    This is really awesome, it would be wonderful if you can demo how firebase push notification work 🥰

  • @zecsba7627
    @zecsba7627 ปีที่แล้ว

    Thanks bro!! Thanks!

  • @bogdanradoi1963
    @bogdanradoi1963 ปีที่แล้ว

    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.

  • @armorunit6970
    @armorunit6970 3 หลายเดือนก่อน

    Thanks a lot!

  • @Glopzu
    @Glopzu 2 หลายเดือนก่อน

    you are aweome!

  • @brendandefaria4495
    @brendandefaria4495 ปีที่แล้ว

    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?

  • @fosimuboolubo8891
    @fosimuboolubo8891 2 ปีที่แล้ว

    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.

    • @fosimuboolubo8891
      @fosimuboolubo8891 2 ปีที่แล้ว

      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?

  • @un_chien_andalou
    @un_chien_andalou ปีที่แล้ว

    Thanks, man! :)

  • @devonly9298
    @devonly9298 ปีที่แล้ว

    Thank you!!!

  • @gokulnaathb2627
    @gokulnaathb2627 5 หลายเดือนก่อน

    Thank you so much

  • @Amey-sn3eb
    @Amey-sn3eb 2 ปีที่แล้ว +1

    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.

  • @aryaprima6626
    @aryaprima6626 ปีที่แล้ว

    Thankyou pedro

  • @gavit633
    @gavit633 9 หลายเดือนก่อน

    this video is very helpfull for me

  • @hiich1584
    @hiich1584 2 ปีที่แล้ว +1

    u can also put imageList as dependency of useEffect so that the page refreshes as new files are uploaded right?

  • @serdarinjo
    @serdarinjo 2 ปีที่แล้ว

    Thanks a lot bro :) !

  • @pro4erb
    @pro4erb 2 ปีที่แล้ว +1

    this is the best video on the planet! why use drive api when you can do the same but in the easiest way possible🤩

  • @filip23128
    @filip23128 ปีที่แล้ว

    Thanks!

  • @vinbro751
    @vinbro751 ปีที่แล้ว

    your are by far the best on TH-cam. Just have a question. Is it possible to do this without using firebase?

  • @marcelomagalhaes6619
    @marcelomagalhaes6619 ปีที่แล้ว

    Great!! Regards from Brasil :)

  • @jare3582
    @jare3582 2 ปีที่แล้ว

    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

  • @kevyyar
    @kevyyar 2 ปีที่แล้ว

    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

  • @mohammed_basher
    @mohammed_basher ปีที่แล้ว

    you rock!

  • @fictionlist4997
    @fictionlist4997 ปีที่แล้ว

    U BEST!!!

  • @TC-gv9fs
    @TC-gv9fs 2 ปีที่แล้ว +1

    Hello Pedro thanks for the video, What if I want to upload multiple images at ones ?

  • @nguyenhuynhtrung8254
    @nguyenhuynhtrung8254 2 ปีที่แล้ว +2

    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.

  • @shinten1269
    @shinten1269 2 ปีที่แล้ว

    Bro you just gave me a new idea about my new API project......

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 7 หลายเดือนก่อน

    Thank you

  • @fantasticyuvi8104
    @fantasticyuvi8104 ปีที่แล้ว +1

    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

  • @robertmacwan8144
    @robertmacwan8144 2 ปีที่แล้ว

    thanks 👍

  • @turki8542
    @turki8542 2 ปีที่แล้ว +1

    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

  • @mohamedeltaquee5236
    @mohamedeltaquee5236 2 ปีที่แล้ว

    Thank bro

  • @JoeOsborneMusic
    @JoeOsborneMusic ปีที่แล้ว

    LEGEND

  • @refentsengoakomakgoba2456
    @refentsengoakomakgoba2456 ปีที่แล้ว

    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..