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

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 191

  • @RitikVerma-rv1tz
    @RitikVerma-rv1tz Рік тому +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  Рік тому

      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!

  • @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!

  • @kamvelihlefatman7206
    @kamvelihlefatman7206 2 роки тому +3

    great tutorial. Straight to the point highly recommend for beginners

  • @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

  • @pedroromao9856
    @pedroromao9856 Рік тому +1

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

  • @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

  • @ulugbekjuraev5569
    @ulugbekjuraev5569 2 роки тому

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

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

  • @muhammadhaiqalhazhari9474
    @muhammadhaiqalhazhari9474 Рік тому

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

  • @brakdarany1616
    @brakdarany1616 9 місяців тому

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

    • @dbestech
      @dbestech  9 місяців тому

      You're very welcome!

  • @xsentialmart979
    @xsentialmart979 2 роки тому +1

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

  • @fluttterdev1k
    @fluttterdev1k Рік тому

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

  • @someshsahu4638
    @someshsahu4638 Рік тому +1

    Nice explanation thankyou 🙏🏼🙏🏼🙏🏼

  • @wisdomofway1554
    @wisdomofway1554 Рік тому

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

  • @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!

  • @YerikSolana
    @YerikSolana Рік тому

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

  • @afabbb
    @afabbb Рік тому

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

  • @zetalukiest8100
    @zetalukiest8100 2 роки тому

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

  • @provedmathematically-krish9736
    @provedmathematically-krish9736 2 роки тому

    great !!! loving much your series

  • @muhammadjamshed2823
    @muhammadjamshed2823 Рік тому

    Thanks brother what a tutorial.

  • @ferdoushwahid8034
    @ferdoushwahid8034 2 роки тому

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

  • @sheharwazir
    @sheharwazir 2 роки тому

    superb video. Easy to understand for newbies...

    • @dbestech
      @dbestech  2 роки тому +1

      Glad to hear that

  • @naveen__sah
    @naveen__sah Рік тому

    thank you for the best tutorial

  • @atheel5678
    @atheel5678 2 роки тому

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

  • @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

  • @itchitrigger8185
    @itchitrigger8185 2 роки тому

    Great tutorial, thank you!!!!👍

  • @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!

  • @miguelhenrique373
    @miguelhenrique373 2 роки тому

    thanks man, for helping in my project :)

  • @nassera.h5339
    @nassera.h5339 2 роки тому

    Thanks a lot, great tutorial.

  • @kccbbsapp6173
    @kccbbsapp6173 Рік тому

    Great , Thanks so much

  • @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!

  • @joeysupply
    @joeysupply 2 роки тому

    Thank you sir.

  • @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

  • @justegouclounon9839
    @justegouclounon9839 2 роки тому

    Great Thanks

  • @jishnup3779
    @jishnup3779 2 роки тому

    thankyou so much

  • @jdabbasi990
    @jdabbasi990 2 роки тому

    Thank you so much man

  • @muhammadsaadmansoor7777
    @muhammadsaadmansoor7777 2 роки тому

    Wa alaikum asalam dear brother

  • @yupickmyusername
    @yupickmyusername 2 роки тому

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

  • @nulops
    @nulops 2 роки тому

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

  • @m.galihpratama3838
    @m.galihpratama3838 2 роки тому

    thank you sir

  • @asavchuk
    @asavchuk 2 роки тому

    well explained

  • @nisanyagmuru0
    @nisanyagmuru0 7 місяців тому

    ty so much

    • @dbestech
      @dbestech  7 місяців тому

      No problem!!

  • @__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.

  • @sporteffort
    @sporteffort 2 роки тому

    Love u boss 😉🤠

  • @_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.

  • @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.??????

  • @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

  • @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 😅

  • @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

  • @فارسفارس-ي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

  • @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

  • @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

  • @shamshushaash5251
    @shamshushaash5251 2 роки тому

    Benificial, brother any video about Streams in flutter like Streamsubscription

    • @dbestech
      @dbestech  2 роки тому +1

      I need to study about it though

  • @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

  • @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?

  • @navasshareef1990
    @navasshareef1990 2 роки тому

    Pls post video about flutter dev tools and inherited widget

  • @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?

  • @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

  • @ashwing924
    @ashwing924 Рік тому

    How to Prevent Duplicate Entries..?

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

  • @dev.faizan
    @dev.faizan Рік тому

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

  • @masterharith8488
    @masterharith8488 2 роки тому

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

  • @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?

  • @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

  • @rahulsingh-cd2ok
    @rahulsingh-cd2ok 2 роки тому

    Dependency please(cloud firestore, and core)

  • @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 :(

  • @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

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

  • @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

  • @juanantoniomelchormontes1689
    @juanantoniomelchormontes1689 2 роки тому

    help, it marks me access denied and many errors

  • @step2point975
    @step2point975 2 роки тому

    ✌️

  • @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

  • @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)

  • @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

  • @endalkachewdamte5530
    @endalkachewdamte5530 2 роки тому

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

  • @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 (•_•)

  • @neal-047
    @neal-047 Рік тому

    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 ua-cam.com/video/iqDcGT3_zNA/v-deo.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 Рік тому

    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  Рік тому

      just follow as mine. You are good to go

    • @kprakash2035
      @kprakash2035 Рік тому

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

  • @jabba5716
    @jabba5716 2 роки тому

    Thanks a lot