How to write data to Firebase Firestore? | Flutter Firebase Tutorial 2021

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • In this tutorial, I show how easy it is to write data to Firebase. I have used Cloud Firestore, a flexible, scalable NoSQL cloud database to store and sync data.
    I'll take you through what Collections and Documents are and how to create a Collection Reference and use it inside your Flutter application to add data to Firestore.
    Get the Men premium grooming essentials 👇
    🙌 amzn.to/3KYkYfc
    🙌 amzn.to/43XcI7T
    Timestamps:
    0:00 Introduction
    01:38 Creating a database - Cloud Firestore
    02:00 Updating rules
    05:15 Creating a basic UI
    06:30 Using Cloud Firestore plugin in Flutter
    07:57 Firebase Instance and Firestore Collection Reference
    12:39 Demo - using coded data
    13:12 Taking user input
    15:18 Conclusion
    16:18 Thank you for watching!
    I have previously made a video on setting up Firebase for your Flutter application.
    Link: • How to setup Firebase ...
    ----------------------------------------------------------------------------
    I am Aditya Thakur, a 𝗙𝗹𝘂𝘁𝘁𝗲𝗿 𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿 with experience in building Cross-Platform Applications for Android, iOS, and the Web.
    🗣️ I have delivered sessions on Flutter for:
    ⚡ Google CrowdSource
    ⚡ GirlScript Pathankot
    ⚡ SidePath.in
    ⚡ LEADHERS of WAP
    ⚡ Innovators Quest (VIT Vellore)
    Other than Flutter, I am proficient in Java and Python. I have also been an instructor for Object-Oriented programming in Java for S.P.A.R.K.S Initiators.
    ----------------------------------------------------------------------------
    Become a part of my community!
    Link to Discord/Telegram: linktr.ee/flutterdev
    Join this channel to get access to perks:
    / @adityathakurxd
    Connect with me on:
    LinkedIn: / adityathakurxd
    Instagram: / adityathakurxd

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

  • @abhishekbarkade3284
    @abhishekbarkade3284 3 ปีที่แล้ว +3

    thank you for this, I literally waste almost half a day, until I found your video , thank you so much ....

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

    thank you so much, brother... 2 din sy continuously data add karny ki koshesh kar raha tha firestore main nahi ho rha tha bohat simple method use kia apny...love from Pakistan

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

    Nice. The drawing part is pretty cool and understanding.

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

    Wow man I was dying sick of worry as to how I would understand database.....You were amazing started everything with core

  • @vanshwalia6944
    @vanshwalia6944 3 ปีที่แล้ว

    Amazing❤️

  • @Rita-og7cy
    @Rita-og7cy 2 ปีที่แล้ว

    Finallllyyy thank you

  • @diboscio
    @diboscio 2 ปีที่แล้ว

    Thank you for this video. Did you make a video on how to set and update documents?

  • @amritalalbiswas
    @amritalalbiswas 2 ปีที่แล้ว

    Thank you very much

  • @spade5713
    @spade5713 3 ปีที่แล้ว +6

    can you make a video on how to read data where there are n number of documents

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

      I really need a video how to read the data.....

  • @vanshwalia6944
    @vanshwalia6944 3 ปีที่แล้ว

    Bhai😍😍

  • @ghanshyammurbadkar9588
    @ghanshyammurbadkar9588 9 หลายเดือนก่อน +1

    Bro one error-> saying muiltdex support
    Exception:gradle task assembleDebug failed exit code 1

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

    nice explanation keep it up. Try to avoid documentation and use the customized cardsss

  • @yaqub3567
    @yaqub3567 2 ปีที่แล้ว

    My son I'm getting fields not exists with add .. should I use set ?

  • @chomanthapa
    @chomanthapa 3 ปีที่แล้ว

    Can you post the same with real-time data base instead

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

    Hey, how can I fetch the saved data to a user profile page?

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

    i expected much more from this video; SED

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

    Hey I am getting google.json error.. please guide

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

    Not working for me

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

      Really sorry about that. Working on a newer tutorial with Firebase.

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

    musac is very distracting :( otherwise great presentation.

  • @monishreddy6983
    @monishreddy6983 3 ปีที่แล้ว

    its saying firebase.
    initializeapp()

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

      Have you set-up Firebase?
      Watch this video on initialising Firebase in your Flutter app: th-cam.com/video/8ER0p2iEOwU/w-d-xo.html

    • @monishreddy6983
      @monishreddy6983 3 ปีที่แล้ว

      @@AdityaThakurXD thanks man !!! its really helpfull

  • @user-co5ud4fp2k
    @user-co5ud4fp2k 3 ปีที่แล้ว +2

    can you make a video on how to read data where there are n number of documents