Upload Images / Files to Firebase In React - Firebase V9 File Upload Tutorial

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 4. 04. 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
  • Věda a technologie

Komentáƙe • 229

  • @pablom8854
    @pablom8854 Pƙed 6 měsĂ­ci +9

    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

  • @alessiapiscopo
    @alessiapiscopo Pƙed 2 lety +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 :)

  • @itsdazychain
    @itsdazychain Pƙed 2 lety +1

    I haven’t even watched the video but I’m so excited! My favourite tech CZcams just released the tutorial I’ve been waiting for đŸ™ŒđŸ»

  • @victorvondoom2350
    @victorvondoom2350 Pƙed 2 lety +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.

  • @Andreas-hy7ob
    @Andreas-hy7ob Pƙed 2 lety

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

  • @ibrokhimkhayitmirzaev6713

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

  • @QuayneBrown
    @QuayneBrown Pƙed 9 měsĂ­ci

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

  • @marcelomalagra1613
    @marcelomalagra1613 Pƙed 2 lety +2

    Straight to the point, thanks Padro!

  • @eleazarhernandez805
    @eleazarhernandez805 Pƙed 5 měsĂ­ci

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

  • @Human_Evolution-
    @Human_Evolution- Pƙed rokem +2

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

  • @alexandrewilk2000
    @alexandrewilk2000 Pƙed 2 lety +1

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

  • @ethenGold
    @ethenGold Pƙed 2 lety +1

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

  • @mericakgul
    @mericakgul Pƙed rokem

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

  • @Lorkisen
    @Lorkisen Pƙed rokem +46

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

  • @TheOhmagad
    @TheOhmagad Pƙed rokem

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

  • @victorross5524
    @victorross5524 Pƙed rokem

    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 Pƙed rokem

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

  • @fearquare
    @fearquare Pƙed 2 měsĂ­ci

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

  • @angelecg
    @angelecg Pƙed 2 lety

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

  • @michelsegnon
    @michelsegnon Pƙed rokem

    Thanks for this wonderful tutorial. Very clean

  • @tahep3906
    @tahep3906 Pƙed 10 měsĂ­ci

    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

  • @VickTechPro
    @VickTechPro Pƙed 2 lety +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.

  • @kartikyadav571
    @kartikyadav571 Pƙed rokem

    fabulous job man

  • @codewithdevhindi9937
    @codewithdevhindi9937 Pƙed rokem

    i really love watching your LEGENDARY videos with awsome explainaton

  • @rameshsrivastavachandra
    @rameshsrivastavachandra Pƙed rokem

    This is amazingly perfect!

  • @thatosrsdude4831
    @thatosrsdude4831 Pƙed 2 lety

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

  • @wojteknowak8946
    @wojteknowak8946 Pƙed rokem

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

  • @Joseph-do9ue
    @Joseph-do9ue Pƙed 2 lety

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

  • @mihaimc99
    @mihaimc99 Pƙed 10 měsĂ­ci

    This helped me a lot. Thank you very much!

  • @ngonimugumwa6374
    @ngonimugumwa6374 Pƙed 2 lety +2

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

  • @13hpca
    @13hpca Pƙed rokem

    Parabéns man!
    Video muito bom!

  • @felicia499
    @felicia499 Pƙed 9 měsĂ­ci

    Thanks a lot. Very clear and easy to understand.

  • @travahnetshisaulu3101
    @travahnetshisaulu3101 Pƙed rokem

    clear and easy to understand, thanks

  • @HI-ks4pr
    @HI-ks4pr Pƙed 2 lety

    éžćžžă«ćˆ†ă‹ă‚Šă‚„ă™ăă€ć­Šçż’ăźćŠ©ă‘ă«ăȘă‚ŠăŸă—ăŸă€‚ă‚ă‚ŠăŒăšă†ă”ă–ă„ăŸă™ă€‚

  • @supercoolcat7692
    @supercoolcat7692 Pƙed rokem

    Thanks Man. I appreciate your videos

  • @findmyreligion
    @findmyreligion Pƙed rokem

    Thankyou so much brother. It helped me a lot.

  • @victortimi
    @victortimi Pƙed rokem

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

  • @Buddhism1123
    @Buddhism1123 Pƙed rokem

    Lovely demonstration

  • @joshuaborseth
    @joshuaborseth Pƙed 2 lety +3

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

  • @casiotoiuuofficial6245
    @casiotoiuuofficial6245 Pƙed 6 měsĂ­ci

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

  • @shamseerpv9488
    @shamseerpv9488 Pƙed 2 lety +1

    Super class bro đŸ”„

  • @comcatcom8829
    @comcatcom8829 Pƙed rokem

    Thankss for explantion. So clear!!

  • @anhtungle1554
    @anhtungle1554 Pƙed 2 lety

    amzing explanation and perfectly structured steps.

  • @georgeolufemi4285
    @georgeolufemi4285 Pƙed 2 lety +1

    Nice one. Great content.

  • @teminoah2960
    @teminoah2960 Pƙed rokem

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

  • @monirhossainrabby7259
    @monirhossainrabby7259 Pƙed 2 lety

    Great brother❀❀ keep it up. I am your new subscriber❀

  • @joza5422
    @joza5422 Pƙed 2 lety +1

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

  • @rebazjabar7660
    @rebazjabar7660 Pƙed rokem

    i implemented this on next js it work thanks alot dear

  • @EliAsikaro
    @EliAsikaro Pƙed rokem

    Much appreciated Bro

  • @fionagonza8829
    @fionagonza8829 Pƙed 11 měsĂ­ci

    Thank you so much Mr. Pedro.

  • @xlgabriel
    @xlgabriel Pƙed 7 měsĂ­ci

    Thanks bro! God bless you.

  • @lipocodes2273
    @lipocodes2273 Pƙed rokem

    Excellent tutorial

  • @mohamedhakim8336
    @mohamedhakim8336 Pƙed 5 měsĂ­ci

    a very helpful video. Thank you

  • @anazi
    @anazi Pƙed rokem

    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.

  • @BrunoOliveira-Bling
    @BrunoOliveira-Bling Pƙed 10 měsĂ­ci

    great video! ty!

  • @bhavyakumar5799
    @bhavyakumar5799 Pƙed 2 lety +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

  • @daniishhhh
    @daniishhhh Pƙed rokem

    thnks bro . realy helpful

  • @aysommer
    @aysommer Pƙed rokem

    Nice info, thanks

  • @albertoginelsalvador2172
    @albertoginelsalvador2172 Pƙed rokem +1

    SO GOOD!!

  • @talalkhan1873
    @talalkhan1873 Pƙed 7 měsĂ­ci

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

  • @ashikmahmud4076
    @ashikmahmud4076 Pƙed 2 lety +3

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

  • @andersbraathen1256
    @andersbraathen1256 Pƙed rokem

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

  • @keiferramos8858
    @keiferramos8858 Pƙed 11 měsĂ­ci

    Thanks for this PedroTech. This is subarashi.

  • @zecsba7627
    @zecsba7627 Pƙed rokem

    Thanks bro!! Thanks!

  • @MadroadFact
    @MadroadFact Pƙed 25 dny +1

    worth watching it

  • @gavit633
    @gavit633 Pƙed 8 měsĂ­ci

    this video is very helpfull for me

  • @un_chien_andalou
    @un_chien_andalou Pƙed rokem

    Thanks, man! :)

  • @aryaprima6626
    @aryaprima6626 Pƙed rokem

    Thankyou pedro

  • @armorunit6970
    @armorunit6970 Pƙed 2 měsĂ­ci

    Thanks a lot!

  • @gokulnaathb2627
    @gokulnaathb2627 Pƙed 4 měsĂ­ci

    Thank you so much

  • @aswinkashok6213
    @aswinkashok6213 Pƙed 2 lety

    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

  • @poorna_recharla
    @poorna_recharla Pƙed 2 lety +1

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

  • @Glopzu
    @Glopzu Pƙed měsĂ­cem

    you are aweome!

  • @marcelomagalhaes6619
    @marcelomagalhaes6619 Pƙed rokem

    Great!! Regards from Brasil :)

  • @fosimuboolubo8891
    @fosimuboolubo8891 Pƙed 2 lety

    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 Pƙed 2 lety

      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?

  • @devonly9298
    @devonly9298 Pƙed rokem

    Thank you!!!

  • @serdarinjo
    @serdarinjo Pƙed 2 lety

    Thanks a lot bro :) !

  • @maskman4821
    @maskman4821 Pƙed 2 lety

    This is really awesome, it would be wonderful if you can demo how firebase push notification work đŸ„°

  • @fictionlist4997
    @fictionlist4997 Pƙed rokem

    U BEST!!!

  • @filip23128
    @filip23128 Pƙed rokem

    Thanks!

  • @mohammed_basher
    @mohammed_basher Pƙed rokem

    you rock!

  • @kevyyar
    @kevyyar Pƙed 2 lety

    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

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd Pƙed 6 měsĂ­ci

    Thank you

  • @robertmacwan8144
    @robertmacwan8144 Pƙed 2 lety

    thanks 👍

  • @mohamedeltaquee5236
    @mohamedeltaquee5236 Pƙed rokem

    Thank bro

  • @brendandefaria4495
    @brendandefaria4495 Pƙed rokem

    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?

  • @hiich1584
    @hiich1584 Pƙed 2 lety +1

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

  • @JoeOsborneMusic
    @JoeOsborneMusic Pƙed rokem

    LEGEND

  • @bogdanradoi1963
    @bogdanradoi1963 Pƙed rokem

    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.

  • @devsilva7155
    @devsilva7155 Pƙed 2 lety

    me fue de mucha ayuda tu vĂ­deo, pero de que manera puedo mostrar las imĂĄgenes que suban a un carrusel y de que manera puedo usar un custom hook que haga las imĂĄgenes que se muestren sea re utilizable para mostrarlas en otros lados?

  • @shinten1269
    @shinten1269 Pƙed 2 lety

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

  • @PeriklesPeriklesoglu
    @PeriklesPeriklesoglu Pƙed 10 měsĂ­ci

    thank you

  • @RockstarGamer4531
    @RockstarGamer4531 Pƙed rokem

    Hey Pedro i had a question that i understand how to add image in firebase storage but will you please tell that how to reference a particular image to a particular document of firestore dynamically ?

  • @TC-gv9fs
    @TC-gv9fs Pƙed 2 lety +1

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

  • @turki8542
    @turki8542 Pƙed 2 lety +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

  • @muhammadmohsinhussain5428

    Thanks.. Can i do the same thing with async await?

  • @vinbro751
    @vinbro751 Pƙed rokem

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

  • @pro4erb
    @pro4erb Pƙed 2 lety +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đŸ€©

  • @tashinamgay7922
    @tashinamgay7922 Pƙed 2 lety +1

    Thank you for the video. Btw, can anyone tell me how to link some data to that particular upload (like name, date uploaded, etc) please.

  • @ajayt2054
    @ajayt2054 Pƙed 2 lety

    Thanks