Upload Images or Files || FIREBASE CLOUD STORAGE || REACT

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ย. 2024

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

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

    After a lot of searching for 3 days, I finally found a video which is a much simpler,cleaner and beginner friendly tutorial. Thanks a ton man! . Love from India. ❤

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

      Uwc bro

  • @Alosage.
    @Alosage. 11 หลายเดือนก่อน +1

    Much love bro! I need a vid demonstration for this

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

    Very useful. Thanks a lot

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

    tanku bro 🦋🦋

  • @TejasThombare-rl4du
    @TejasThombare-rl4du ปีที่แล้ว

    actully i used MongoDB Atlas but for images saving i want to use Firebase Storage
    is above given code is sufficient for it or i have to do complete setup at backend ?

    • @9jaCoder
      @9jaCoder  ปีที่แล้ว

      well ud need to go to ur firebase console and kick start ur firebase storage

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

    Suppose if i upload a picture in the firebase and again upload the another picture then i want to automatically delete the previous picture from the firebase how to achieve that ?

    • @9jaCoder
      @9jaCoder  ปีที่แล้ว

      you would first delete the image in that folder before uploading your new image

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

    I subscribe, bro thanks for everything, suggestion to use the easiest code possible

    • @9jaCoder
      @9jaCoder  ปีที่แล้ว

      That’s the best route … Uwc

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

    I have an app in production and I want all users to be able to see the images but only the page owner can upload the images, how can I configure that in the rules? I want to do that but I get 'Could not save rules: An unknown error occurred'

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

      if your referring to the firebase rules, then u would have to edit the storage rules, to allow all users to read ( read: true; ) then u would have to create a check with the write rule, something like ( write : if( user == admin) .. something like that in your rules, so u would need a method to differentiate ur admin from ur users

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

    How did you export storage from the firebase-config file?

    • @9jaCoder
      @9jaCoder  ปีที่แล้ว

      oh its a const in my firebase-config file, you can export it by writing "export" before the "const", this way you can use it from any file in your application