Flutter Firebase Firestore CRUD Operations | Create, Read, Update & Delete

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 191

  • @RitikVerma-rv1tz
    @RitikVerma-rv1tz 2 года назад +9

    This is absolutely a perfect video for understanding how to perform CRUD operation using FIREBASE integrated with Flutter.
    Keeping in mind this is presently the only video which is working with current versions and packages ,
    till date No error at all while making this app.
    Thanks a lot for this great video.

    • @dbestech
      @dbestech  2 года назад

      Most welcome

    • @ashwing924
      @ashwing924 Год назад

      @@dbestech How to Prevent Duplicate Entries..?

  • @mystery9230
    @mystery9230 2 года назад +7

    I'm creating my first app using firebase and this is what I need. Easy to understand. Thanks a lot!

    • @dbestech
      @dbestech  2 года назад +4

      Glad it helped!

  • @kamvelihlefatman7206
    @kamvelihlefatman7206 2 года назад +3

    great tutorial. Straight to the point highly recommend for beginners

  • @mulualemmhretu
    @mulualemmhretu 2 года назад +4

    I love you tutorial and all the video make . you are so very excellent instructor . You show us step by step and it is easy to understand .

    • @dbestech
      @dbestech  2 года назад

      Thank you so much!

  • @DiyaLalDileepLal
    @DiyaLalDileepLal 2 года назад +1

    Easy to understand and to the point. Please post more videos on Flutter features which are mandatory in real-world applications. Thank you

    • @dbestech
      @dbestech  2 года назад

      I will and I am doing it now

  • @RafiqulIslam-un9zp
    @RafiqulIslam-un9zp Год назад

    You satisfied me. Appreciating from the bottom of my heart. Your tutorials have always been very understandable, easy, well explained & to the point, no bull shit & very informative. Thanks for all the hard work you put in here to teach us. Keep up the good work.

    • @dbestech
      @dbestech  Год назад

      You are most welcome

  • @davidb2254
    @davidb2254 2 года назад +1

    Thanks for the explanations. I really love your channel. Your videos just became my morning coffees 😇

    • @dbestech
      @dbestech  2 года назад

      Haha. Thanks so much for the likings

  • @muhammadhaiqalhazhari9474
    @muhammadhaiqalhazhari9474 Год назад

    Simple and very great video to understand to do the CRUD operation. Really help me, thanks for this awesome video !

  • @ulugbekjuraev5569
    @ulugbekjuraev5569 2 года назад

    Honestly, The BEST! Please teach how to CRUD pictureS from phone storage to firestore!

  • @xsentialmart979
    @xsentialmart979 2 года назад +1

    Thank you so much for making this video. You’re a life saver.

  • @wisdomofway1554
    @wisdomofway1554 2 года назад

    Amaizing explanation skills! A brilliant master. keep it up!

    • @dbestech
      @dbestech  2 года назад

      Thanks, will do!

  • @pedroromao9856
    @pedroromao9856 Год назад +1

    I Love you man , seriously from the bottom of my heart.

  • @YerikSolana
    @YerikSolana 2 года назад

    bro, you're amazing!!!
    This is exactly what I was searching for, thank you SO much

  • @afabbb
    @afabbb 2 года назад

    Thank you very much bro for the tutorial which is very easy to understand, finally my project can be finished 😄

  • @fluttterdev1k
    @fluttterdev1k Год назад

    very easy to understand ,I learned easily thanks to god . cant more appreciate bro .

  • @zetalukiest8100
    @zetalukiest8100 2 года назад

    Great tutorial to get started with firestore. thanks a lot for this video 🤩

    • @dbestech
      @dbestech  2 года назад

      My pleasure 😊

  • @fabinhosiqueira6380
    @fabinhosiqueira6380 2 года назад

    thank you so much!! I'm beginner and it helped me lot!! Hugs from Brazil!!!

    • @dbestech
      @dbestech  2 года назад

      You're so welcome!

  • @mdzyrd407
    @mdzyrd407 Год назад +2

    how can we add a list of items that will be stored in an array field using the same example you provided. (For example, the product has an array of colors like red, blue, green, or a list of ingredients) By using text fields like in your video. Thank you very much! Also how to display it in the front-end (READ) in the app!

    • @texastzu6348
      @texastzu6348 Год назад

      I have the same question, this is what I'm planning to do for my project too

    • @deksdolls1535
      @deksdolls1535 Год назад

      same concern too, I am also wandering how to store array with this tutorial

  • @brakdarany1616
    @brakdarany1616 10 месяцев назад

    Great video for firebase + flutter a beginner like me, thank you^^

    • @dbestech
      @dbestech  10 месяцев назад

      You're very welcome!

  • @provedmathematically-krish9736
    @provedmathematically-krish9736 2 года назад

    great !!! loving much your series

  • @ferdoushwahid8034
    @ferdoushwahid8034 2 года назад

    Thank you so much, Sir. I love your all video.please Make a complete app using firebase for a better understanding

  • @atheel5678
    @atheel5678 2 года назад

    thank you very much, for your explanation. Feel like professor ❤

    • @dbestech
      @dbestech  2 года назад

      You are welcome!

  • @leningmendoza938
    @leningmendoza938 2 года назад

    Alfin un tutorial que me funciona. Muchas gracias!

    • @dbestech
      @dbestech  2 года назад

      What do you mean?

    • @marlonsubuyu9715
      @marlonsubuyu9715 2 года назад

      @@dbestech A tutorial that works, thank you so much!

  • @sheharwazir
    @sheharwazir 2 года назад

    superb video. Easy to understand for newbies...

    • @dbestech
      @dbestech  2 года назад +1

      Glad to hear that

  • @mdzyrd407
    @mdzyrd407 Год назад +1

    @dbestech I have a question, how to order the list of data on listview according to the firestore data for example ordering by name or price in the UI?. Thank you in advance!
    PS:
    I am using the code link you gave.

    • @dbestech
      @dbestech  Год назад +1

      Well, in that case you need do them based on tag. But it would be little complicated. You need to reformat your data to Map object. And then search from a map. List does not give you search based on different criteria.

    • @mdzyrd407
      @mdzyrd407 Год назад

      @@dbestech thank you for the reply! I'm sorry if you misunderstood my question, what I mean is using the orderBy query to arrange the row from a to z from the name document or price to low to high. I was able to do that in the stream parameter. Nevertheless great video and I learned a lot from you. Your tutorials are all great explaining everything as much as you can that even for beginners such as myself could understand. Keep up the good work!

  • @itchitrigger8185
    @itchitrigger8185 2 года назад

    Great tutorial, thank you!!!!👍

    • @dbestech
      @dbestech  2 года назад

      You are welcome!

  • @miguelhenrique373
    @miguelhenrique373 2 года назад

    thanks man, for helping in my project :)

  • @nassera.h5339
    @nassera.h5339 2 года назад

    Thanks a lot, great tutorial.

    • @dbestech
      @dbestech  2 года назад

      You are welcome!

  • @muhammadjamshed2823
    @muhammadjamshed2823 Год назад

    Thanks brother what a tutorial.

  • @yupickmyusername
    @yupickmyusername 2 года назад

    Hi, for suggestions for next firebase video:
    -multiple user with access scope

  • @someshsahu4638
    @someshsahu4638 Год назад +1

    Nice explanation thankyou 🙏🏼🙏🏼🙏🏼

  • @muhammadsaadmansoor7777
    @muhammadsaadmansoor7777 2 года назад

    Wa alaikum asalam dear brother

  • @naveen__sah
    @naveen__sah Год назад

    thank you for the best tutorial

  • @PabloDiaz-ux1fh
    @PabloDiaz-ux1fh 2 года назад

    Hi man, I have a question. I'm working on a project where I want to list all the users that have the same job that the logged in user has. Job is a required field of every document. Can u tell me how to do it??
    Thanks

  • @__mothership__8475
    @__mothership__8475 2 года назад +1

    Tutorial on -
    1. Firebase push notification on iOS when app is both closed and open
    2. Schedule multiple notifications without clicking a button , but by initialising automatically
    3. How to update data in firebase everyday using flutter and schedule it let’s say 12 pm

    • @dbestech
      @dbestech  2 года назад +2

      Hi Vipul, I will try.

  • @nulops
    @nulops 2 года назад

    hu, good course, How to use Global keys in Getx i need it for impementing showcaseview. thanks

  • @jdabbasi990
    @jdabbasi990 2 года назад

    Thank you so much man

  • @kccbbsapp6173
    @kccbbsapp6173 Год назад

    Great , Thanks so much

  • @joeysupply
    @joeysupply 2 года назад

    Thank you sir.

  • @asavchuk
    @asavchuk 2 года назад

    well explained

  • @farjadbaig114
    @farjadbaig114 2 года назад

    how to make a subcollection(nested collection) of all documents in a product collection? so that if a new document is added subcollection is already available.??????

  • @فارسفارس-ي9ج
    @فارسفارس-ي9ج 2 года назад

    hi i make it with text form field instead of text field and make a form with the text form field and make on saved function and a key to validate the form but when make validation it tell me that it was called on null any solution and thanks for tut

  • @justegouclounon9839
    @justegouclounon9839 2 года назад

    Great Thanks

    • @dbestech
      @dbestech  2 года назад +1

      You are welcome

  • @sporteffort
    @sporteffort 2 года назад

    Love u boss 😉🤠

  • @ramimaro4940
    @ramimaro4940 2 года назад

    you are the best :) i have question please .. after i have done all you have explaned , i would like to press on the filed then navigate to next page showing the same information on the filed . the navigate i have creat showing all the date on the firebase , i would like it show only the filed details ...... builder: (context) => RoomCard4(), what i should right betwen the braces please ?

    • @ramimaro4940
      @ramimaro4940 2 года назад

      give the answer from your example in the video and i will understand thank you

    • @dbestech
      @dbestech  2 года назад +1

      Hhi there thank you. If you want to go to a new page, and then view a certain document info, then you may pass streamSnapshot.data!.docs[index]. It wil pass the whole object containing a certain docs.

    • @ramimaro4940
      @ramimaro4940 2 года назад

      @@dbestech thank you so much for responding❤ if you make video about it, you would safe my life ❤️ I am sure there is many would love it because it is very important part in programming language

  • @m.galihpratama3838
    @m.galihpratama3838 2 года назад

    thank you sir

  • @jabba5716
    @jabba5716 2 года назад

    Thanks a lot

  • @nisanyagmuru0
    @nisanyagmuru0 8 месяцев назад

    ty so much

    • @dbestech
      @dbestech  8 месяцев назад

      No problem!!

  • @matthewma1008
    @matthewma1008 2 года назад

    Thank you for the tutorial sir, but I have question, if I do my field "name" and "age" instead, I noticed firestore stored the age value first then name, is there a way to tell firestore to store the field "name" first instead of "age"?

    • @dbestech
      @dbestech  2 года назад

      Hi Mathew, I am not why you need that, but based on my knowledge you can not control the order of the fields.

    • @matthewma1008
      @matthewma1008 2 года назад

      @@dbestech I see, thank you! Sorry was just wondering if I can do that for no reason at all 😅

  • @_danishlaeeq
    @_danishlaeeq 2 года назад

    Does this method work with Realtime Database as well?? kindly reply

    • @dbestech
      @dbestech  2 года назад

      I haven't tested on real time database. Just the firestore database.

  • @dylancorr8054
    @dylancorr8054 2 года назад

    Thank you for your video
    I followed the steps and the code but getting the following error when testing on chrome
    Error: Assertion failed: in Firebase_core_web,dart
    'FirebaseOptions cannot be null when creating the default app.', Any thoughts in how to fix this problem?
    thanks

    • @dbestech
      @dbestech  2 года назад

      this app is for testing on the mobile. not browser

  • @muhammadsaadmansoor7777
    @muhammadsaadmansoor7777 2 года назад

    i have a really important question:
    how can i order my items in this list.
    maybe i am unable to put orderBy() in correct place. but i dont know where to put it.
    i dont want to follow other's tutorials because they have completyly different way of making list. i would have to erase all this code, and replace with their's. so, please help me out.

    • @dbestech
      @dbestech  2 года назад

      what's your current code?

  • @baranmukry8331
    @baranmukry8331 2 года назад

    thanks for this useful video i wonder how can i add image with name and price ....?

    • @dbestech
      @dbestech  2 года назад

      stackoverflow, since I did not create a tutorial about it. But maybe I will create one soon

  • @kevinkinyua2259
    @kevinkinyua2259 2 года назад

    hello sir,i realy like your tutorials alot well simplified👍 by the way am having trouble loading data from firebase can you help,how can i can get you

    • @dbestech
      @dbestech  2 года назад

      if you post error I can take a look.

    • @kevinkinyua2259
      @kevinkinyua2259 2 года назад

      @@dbestech okay can send it through you email

  • @dev.faizan
    @dev.faizan Год назад

    I want to show newest data added on top of the list
    how i do that

  • @shamshushaash5251
    @shamshushaash5251 2 года назад

    Benificial, brother any video about Streams in flutter like Streamsubscription

    • @dbestech
      @dbestech  2 года назад +1

      I need to study about it though

  • @aycademir7379
    @aycademir7379 2 года назад

    I did the exact same things but it gives this error: Exception has occurred.
    PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null))
    I have searched this error from the internet and so many people wrote that it is about outdated packages. But in my case everything is up to date because i have just downloaded flutter and vs code and i've just entered the dependencies. When i looked deeper in your code i realized that a file called "generated_plugin_registrant.dart" aautogenerated but it did not happen in my case. Could this problem be because of this? If so or if not how can i solve it?

    • @dbestech
      @dbestech  2 года назад

      did you do get pub? it should be auto generated. and did you put google-service.json in the android/app/ folder?

    • @aycademir7379
      @aycademir7379 2 года назад

      @@dbestech yes i did both and couldnt find out the reason yet

  • @riskzerobeatz
    @riskzerobeatz 2 года назад

    Illuminate\Database\QueryException
    SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `tasks` where `slug` = flutter-firebase-firestore-crud-create-update-delete-operations-real-time-database limit 1)

    • @dbestech
      @dbestech  2 года назад

      It's working now

  • @masterharith8488
    @masterharith8488 2 года назад

    is it still works in october 2022?
    for the mindSDKversion 19?

  • @SamiKhan-yq4nh
    @SamiKhan-yq4nh 2 года назад

    Hi Great if we want to add Qyantity How to add?

    • @dbestech
      @dbestech  2 года назад

      You can just add a new field in the documents. and read that along with other fields.

  • @ramimaro4940
    @ramimaro4940 2 года назад

    hello :) safe my life please and make other video about display the details to other page . make part 2 of this video please please

    • @dbestech
      @dbestech  2 года назад +1

      Ok. I will try

    • @ramimaro4940
      @ramimaro4940 2 года назад

      @@dbestech please try doing it

  • @seusenigmas6644
    @seusenigmas6644 2 года назад

    How do I make only specific items appear on the screen???, for example, when the price is greater than 20, please someone help me!!!

    • @dbestech
      @dbestech  2 года назад

      firebase.database().ref('"documentName').orderBy(id).
      .startAt(startPrice)
      .endAt(endPrice)
      .limitToLast(15)

    • @seusenigmas6644
      @seusenigmas6644 2 года назад

      @@dbestech What if I don't know the document? I'm trying to make a web system where I enter a date and it returns all the documents and fields of the document (according to the date informed) and I don't know how to do that :(

  • @md.tanvirahammedhridoy2355
    @md.tanvirahammedhridoy2355 2 года назад

    return Card()
    Here shows an error that is: Card isn't a function..
    Why I face this type of problem and what is the solution?

  • @bmeghani88
    @bmeghani88 Год назад

    Does anybody know why you need to Run in a Android emulator, it will not work if you use Windows desktop, Chrome or Edge ?

    • @dbestech
      @dbestech  Год назад

      You can run android emulator on desktop

  • @fortechknowledge8172
    @fortechknowledge8172 2 года назад

    Nice channel mashallah

  • @aaannas4241
    @aaannas4241 2 года назад

    I have followed this tutorial , but i have had break point at line await Firebase.initializeApp() ; help me plz , i have been stuck

    • @dbestech
      @dbestech  2 года назад

      what error do you see?

  • @ashwing924
    @ashwing924 Год назад

    How to Prevent Duplicate Entries..?

  • @KosovaTBA100
    @KosovaTBA100 2 года назад

    Did anyone else also got the Error "FirebaseOptions cannot be null when creating the default app."? Thanks for the video!

    • @dbestech
      @dbestech  2 года назад

      Did you use cli to initialize firebase?

    • @KosovaTBA100
      @KosovaTBA100 2 года назад

      I have added the options derived from the google-services File and it worked 👍

    • @dbestech
      @dbestech  2 года назад

      @@KosovaTBA100 ok

  • @rahulsingh-cd2ok
    @rahulsingh-cd2ok 2 года назад

    Dependency please(cloud firestore, and core)

    • @dbestech
      @dbestech  2 года назад

      what do you mean?

  • @navasshareef1990
    @navasshareef1990 2 года назад

    Pls post video about flutter dev tools and inherited widget

    • @dbestech
      @dbestech  2 года назад

      Ok. I will Thanks

  • @juanantoniomelchormontes1689
    @juanantoniomelchormontes1689 2 года назад

    help, it marks me access denied and many errors

  • @ambuenaventura17
    @ambuenaventura17 2 года назад

    Great video thanks! BTW the link is not accessible

    • @dbestech
      @dbestech  2 года назад +1

      Check now. Fixed it

    • @ambuenaventura17
      @ambuenaventura17 2 года назад

      @@dbestech The link is now accessible.. Thank you so much!

    • @dbestech
      @dbestech  2 года назад +1

      @@ambuenaventura17 you are welcome

  • @avinashpatel2435
    @avinashpatel2435 2 года назад

    When i write data i face this error
    Firebase Database connection was forcefully killed by the server. Will not attempt reconnect. Reason: Database lives in a different region.

    • @dbestech
      @dbestech  2 года назад

      choose south east server for database

  • @step2point975
    @step2point975 2 года назад

    ✌️

  • @limkangwei6339
    @limkangwei6339 2 года назад

    I literally followed everything in your video and used your code entirely without changing a thing. But my changes made on the emulator is not reflecting on firebase.

    • @limkangwei6339
      @limkangwei6339 2 года назад

      Similarly, the changes made in firebase is not reflecting on my emulator.

    • @maurods3151
      @maurods3151 2 года назад

      @@limkangwei6339 I have the same problem, please update me if you find the solution

    • @limkangwei6339
      @limkangwei6339 2 года назад

      @@maurods3151 I am working on a group assignment, it still doesn't work on my laptop. But it worked on my teammate's, we have no idea what we are doing haha

    • @maurods3151
      @maurods3151 2 года назад

      @@limkangwei6339 I think I discovered the solution btw

    • @limkangwei6339
      @limkangwei6339 2 года назад

      @@maurods3151 Can you share? Much appreciated

  • @MuhammadRahman-kw4tf
    @MuhammadRahman-kw4tf 2 года назад

    Sir make a complete application like instrgram in firebase

    • @dbestech
      @dbestech  2 года назад

      Hi Rahman, thanks for suggestion. I think it's no use to build instragam from firebase. At least now. Because firebase is not a complete backend. Of course we can use some features of firebase.

  • @faisalhidayat8404
    @faisalhidayat8404 2 года назад

    Still waiting for laravel admin to make API

    • @dbestech
      @dbestech  2 года назад

      Will try to upload one next week.

  • @dev.faizan
    @dev.faizan Год назад

    Thank You (•_•)

  • @endalkachewdamte5530
    @endalkachewdamte5530 2 года назад

    How can I give you 100 like ....thanks a lot.

    • @dbestech
      @dbestech  2 года назад +1

      So nice of you

  • @neal-047
    @neal-047 2 года назад

    jai shree ram

  • @alikamalharb6624
    @alikamalharb6624 2 года назад

    Do you have video showing passing data on tap to second screen @dbstech

    • @dbestech
      @dbestech  2 года назад +1

      Here we go ruclips.net/video/iqDcGT3_zNA/видео.html

    • @alikamalharb6624
      @alikamalharb6624 2 года назад

      @@dbestech you are awesome

  • @alikamalharb6624
    @alikamalharb6624 2 года назад

    How can I read array @dbstech

    • @dbestech
      @dbestech  2 года назад

      In dart, there's no array. Only map and list

  • @muhammadqazmouz6604
    @muhammadqazmouz6604 2 года назад

    @dbestech
    Bro I have sent you a message on your mailbox, please reply me there.

  • @kprakash2035
    @kprakash2035 2 года назад

    Sir i followed Your video it's Getting Video like this......
    i got confused at 3:02
    For Me it's Comming Like thiis
    plugins {
    id 'com.android.application'
    // Add the Google services Gradle plugin
    id 'com.google.gms.google-services'
    ...
    }
    For You on Screen it's Like this
    apply plugin:com.google.gms.google-services
    i am getting confused ...........Will You please help me sir

    • @dbestech
      @dbestech  2 года назад

      just follow as mine. You are good to go

    • @kprakash2035
      @kprakash2035 2 года назад

      @@dbestech sir i followed your tutorial plugin code is different where to place that plugin I am not getting sir... Will u please latest 🔥 firebase series sir

  • @jishnup3779
    @jishnup3779 2 года назад

    thankyou so much