How to perform CRUD operations on a Cloud Firestore database [In-depth tutorial]

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • How to perform CRUD operations on a Cloud Firestore database from a Flutter app?
    After watching this video you'll know the following things...
    00:00 - The context
    01:00 - 1. How data are stored in a Firestore database?
    04:22- 2. CREATE: How to add data to a Firestore database?
    09:04 - 3. READ: How to fetch data from Firestore and display them on the UI?
    19:47 - 4. READ: Fetch content of one particular document by it's ID;
    30:21 - 5. UPDATE: How to update the content of a document?
    45:10 - 6. DELETE: How to delete a document from a Firestore collection?
    SOURCE CODE:
    github.com/gitanjal/flutterfi...
    How to add Firebase to a Flutter project:
    • How to Add Firebase to...
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Ok i am here lets see if this works. You are probably the best teacher out there

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

    Thank you so much this is real teaching. I have been looking to learn like this. How can I buy you a coffee

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

    Amazing video! I tried using Isar for an offline database but had too many issues and decided to go with cloud firestore instead. There are plenty of videos but your video helped me the most! I have some questions though. I do not know if you have videos about them but how would I go about making a separate document where it adds up all the weight depending if I select certain shopping items to that list. What about sorting the document list alphabetical or weight? If I allow users to move the list tiles does that also move the document in the database or is that a separate way? I hope my questions make sense.

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

    I think it would be much better if you could provide project source code through git for subscribers.

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

      Sure, I will share the source code. Thanks .

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

      Hi Sean, I am extremely sorry for the delay.
      Below is the link to the github repo.
      github.com/gitanjal/flutterfirebasedemo

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

      @@droidmonk4820 Thanks a lot!