React Todo App With Firebase v9 / CRUD Functionality

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • In this video we will build a todo application in React JS with a firebase backend to store all of the todos. It is a simple easy to follow tutorial to learn basic CRUD functionality within a React JS website utilizing the firestore cloud storage within firebase to manage the backend. All of the styling will be done with Tailwind CSS. If you are already familiar with writing JSX code and Tailwind CSS then just skip ahead to the firebase portion. Thank you for watching.
    If you're interested in Firebase Authentication then you can see a full tutorial on Authentication & Protected Routes here:
    • React Firebase Authent...
    Timestamps:
    00:00 Intro
    01:35 Install Tailwind
    05:00 Build Layout
    11:25 Todo Component
    18:15 Add CSS
    24:50 Install & Configure Firebase v9
    31:40 Read Data
    41:00 Update Data
    44:50 Create Data
    55:20 Delete Data
    Learn to code here!
    edabit.com/?ref=clintbriley1
    Github Repo
    github.com/fireclint/todo-app...
    🔥 Connect with me on IG 🔥
    / fireclint
    ☕ Support the channel ☕
    www.buymeacoffee.com/clintbriley
    💻 My Coding Equipment
    Logitech MX Wireless Keyboard - amzn.to/3xKPFiN
    Logitech MX Master 2S Wireless Mouse - amzn.to/3O5WmRD
    SAMSUNG 49-Inch Gaming Monitor - amzn.to/3mvUy8M
    Shure MV7 USB Podcast Microphone - amzn.to/3O00nqG
    Mic Boom Arm - amzn.to/3NHn6YU
    Monitor Desk Light Bar - amzn.to/3xzKlyj
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @KarakiriCAE
    @KarakiriCAE ปีที่แล้ว +14

    I love how you organize tailwind properties in an object. It makes the code so much cleaner!

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

    It was my first firebase use, it works so smoothly and is well documented. I also like the way you used tailwind classes by putting them in an object called styles. Thanks for the video !

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

    It was a very beginner friendly tutorial project of react, firebase, tailwindcss with perfect explanation of all the functionalities. Thank You for this. Helped a lot in learning the basics properly.

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

    This is such a solid, solid, solid tutorial. Touching on Tailwind CSS while creating a todo app in React JS with a firebase backend - all in under one hour. Super easy to follow along. Thanks so much for putting this together and putting it out there. Well done, sir.

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

    Hey, I really love your videos. I don’t comment often but I had to tell you. You explain very well. You are not too fast and not too slow either. You have great tutorials that teach bunch of new helpful things. I am a new subscriber but already a big fan!

  • @0od
    @0od ปีที่แล้ว

    Best youtuber for react JS I've seen in my 2 years journey so far, You are a life saver keep up the work man love it

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

    this is awesome! Keep those backend videos coming. Personally thats where I lack and I really don’t see alot of youtube developer covering a bridge between the Frontend and backend! Good stuff man!

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

      It’s certainly a little more difficult than the “React” apps which are primarily HTML/CSS apps.

  • @mitchdask
    @mitchdask 4 หลายเดือนก่อน

    Totally worth it spending time on your videos! Always learning something new! Great job!!

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

    Really helpful video! I was looking for an entry point to begin learning firebase and this video really helped a lot. Also it was a good revision for React.

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

    Thank you so much for taking take to prepare for, record and deliver those materials to us! It helped me in my bigger project. So so thankful! Please keep making new videos!

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

    This is great! Simple and precise!! I appreciate you !!

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

    Great tutorial, was super easy to follow and you covered a lot of ground. Thanks!

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

    BRO this helped me out immensely. Not alot of people working Firebase config for the new v9. Very helpful!

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

      Awesome Micah. I’m glad it helped!

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

    Love your content.
    Thanks for sharing your knowledge !!!

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

    Brother please don’t stop making these videos! They may seem like simple projects but so far in this video I have learned so much and I can actually follow through and understand what’s going on! Many blessings to you! 🙏🏼 keep up the great work. And keep these projects coming because I will be here to learn from the best.
    I hope you could make a separate video showing firebase would be nice to supplement the learning.

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

      Thanks man! Another firebase video tomorrow morning.

  • @smarthousetech8593
    @smarthousetech8593 ปีที่แล้ว +4

    I have to express my gratitude for giving us all this knowledge. I just graduated as a Full Stack Web Developer, and will continue to watch your videos throughout my career. You helped me so much especially with my last project, and I can code better each day just from watching you. Thanks Bro.

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

      So awesome dude!! Keep building stuff!

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

    Great video man and perfect timing I was looking to get started learning Firebase!!!!

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

      Firebase is awesome dude!

  • @user-yd7rk7qd1o
    @user-yd7rk7qd1o 11 หลายเดือนก่อน

    hey dude! i like your style very much) thanx for teaching

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

    Thanks man, you rock!. I love the content.

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

    Whoaaa... this tutorial was super awesome loved it . Keep em coming !!!

  • @haallefs
    @haallefs 4 หลายเดือนก่อน +1

    Thanks man, it helped me a lot.

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

    seriously great tutorial. helped me out a lot

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

    Thank you so much for this awesome video. Subscribed 👍 :)

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

    This is awesome! Don't stop my man

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

    Thanks a lot, man, Your tutorials are really helpful. I learned a lot, Now I am going to build my own project

  • @subramanyam.d24m56
    @subramanyam.d24m56 ปีที่แล้ว

    I seen number of videos related to connecting react application to firestore i did not feel interesting, this video helps me to understand firestore concepts thoroughly. Thank You.

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

    Great video ))) thank you a lot for posting this out ;)))

  • @freeinformation7877
    @freeinformation7877 10 หลายเดือนก่อน

    thank you very much It was so helpful

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

    This was a great tutorial. Thank you!

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

    Thanks a lot sir :) for your beautiful project :)

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

    Man graet job. You is the Best. Help me a lot with your tutorials.

  • @Ali-Aziz-official
    @Ali-Aziz-official ปีที่แล้ว

    Great video.

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

    really helped me [learning developer] a LOT thanks

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

    you are actually the best. definitely subscribing.

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

    You made it so understandable, thank you! I only missed an order stacking of todos, where the newest todo would be first on the list or where the completed todos would jump to the end of the list.

  • @nitheeshshaju2796
    @nitheeshshaju2796 11 หลายเดือนก่อน

    Great Tutorial !!

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

    great tutorial!

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

    Thanks again learning so much great build

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

    keep uploading brother love the content

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

      Thank you dude! I’m enjoying uploading content as often as I can! 😃

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

    Really great content. Thanks 👍

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

    great one

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

    Needed this video! Thanks again!!

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

    Great content mate

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

      Thank you Christian! 💪

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

    Really awesome

  • @sanika902
    @sanika902 หลายเดือนก่อน

    thank u so much!!!!

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

    Cool, very informative video

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

    Great tutorial

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

      Thanks!

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

      @@codecommerce do you have or could recommend a tutorial for adding bottom tab navigation?

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

    Great, I will try to add edit todo

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

    Thanks sir what an amazing video it was ♥️♥️♥️

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

    Thank you bro :)

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

    Can I ask why when storing your todos from firebase to your local state, you used 'push' rather than setState(doc.data()) ? Curious! Thanks

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

    Excenelent thanks a lot!

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

    Thanks bro for everything

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

      Thanks again Joseph! 💪

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

      @@codecommerce I’m so happy to meet your channel It made stuff easy and now I’m rebuilding my portfolio again and I will be glad to get you to critic it again.
      Thanks 😊

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

    thank you

  • @mustafa.celiktas
    @mustafa.celiktas ปีที่แล้ว

    you are the king

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

    Thank You soo much for this..

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

    Great tutorial.
    Liked+Subscribed = Done😎

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 7 หลายเดือนก่อน

    thank you

  • @WillSmith-qt7me
    @WillSmith-qt7me ปีที่แล้ว

    Thanks, friend, waiting for another tutorial, preferred Firebase with lots of filtering for the items

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

    Amazing!!!!

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

    Melhor que isso, só dois disso! Parabéns

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

    I think that you miss an Edit function in your to-do list. But it is also a great tutorial for beginner.

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

    Thanks

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

    This is great. I kinda got lost in the firebase code in Read function

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

    I wish I could put five likes because this video helped me at least five times for last four months.

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

    yay I finished it.

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

      You got it dude!! 🙏

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

      @@codecommerce when i got stuck , i found the solution it was hard but i didn't want to look at the GitHub code. At the end it was worth it. my suggestion is can you share the shortcuts in visual studio and also how do you go about learning a new framework.

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

    Hey clint! super awesome video and I'm definitely learning a lot through you. Just wondering... what was the exercise site you used before leetcode?

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

      Thanks! edabit was where I started out. It starts off very basic - great for beginners.

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

    thanks

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

    I have a doubt , the height is set to h-screen(100vh) , what if there are many todo list items they will surely overflow right.How to solve this probem?

  • @Cmunx
    @Cmunx 2 หลายเดือนก่อน

    Background gradient colour are not working on my device like I'm using vite set up what's the issue????

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

    Perfect time for me

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

      Thanks for watching rashedul

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

    you should make a e commerce with firebase in honor of your youtube nickname.... good job! I love your videos!

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

      Juan! Haha that’s a good idea man! I do freelancing on e-commerce platforms which is where the name came from. I had a different vision for the channel initially but I’ve enjoyed working on different things lately.

  • @CoconutwCoco
    @CoconutwCoco 11 หลายเดือนก่อน

    i am dead when he said ofc we didnt do anything right BAhahaa i love moment like this in code tutorial

    • @codecommerce
      @codecommerce  11 หลายเดือนก่อน

      happens... lol

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

    Could you possibly make an app that is a firebase & react stack with firebase storage for the images and firebase db for the posts, essentially like a blog remake? Editing a post through a modal and such?

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

    ]Could you make a short video explaining how to properly pass props with updateDoc() firebase function? I see we are crossing out the todo but can you do it to pop up a modal to edit the data via input textfield? im having trouble with this, Thank you!

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

    can you please tell how to add firebase auth so user can access there own todos not others

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

    That's awesome tutorial. Is it possible to add the edit text function in this app?🤔

  • @user-tk1ew8kr2f
    @user-tk1ew8kr2f ปีที่แล้ว

    Is helpful learning firebase such as front end developer junior?

  • @EugeneVe
    @EugeneVe 2 หลายเดือนก่อน

    best best best

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

    Thanks for a great tutorial. Is there anyone on this channel that can guide me to why my app flashes up then disappears on the browser.

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

    Great video! Can you share how you beautified / formatted your code in visual studio @ 0:55:56 ?

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

      you need to download extension called prettier and there will be shortcut

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

    Amazing tutorial!! What was the other platform you used before leetcode?

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

      Edabit was the very first! I have a link in the bio. It’s the most beginner friendly. Leetcode made me feel dumb when I first started. Haha

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

    First 🔥🔥🔥🔥🥇🥇🥇

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

    Awesome tutorial! Thank you!
    Can you pls give advice, or where can I found, how to add date to each of todos, when it suppose to be accomplish, and add how to add btn with possibilities to add any file to each todos. Kindly regards!

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

      Thank you! You could do a timestamp or a user set time :)

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

    But how can I make this app userspecified. I mean if I add sign in and signup method then any user can get all the todos. So how can I make the todos available for logged in users only.
    By the way, awesome video. You did it very simply.

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

    This was a great tutorial! Also, I'm wondering why when a todo is added, it's not always added to the top of the todo list? Sometimes, it's added randomly in the middle of the list like at 57:39?

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

      Hi Martin. I believe it’s added in alphabetical order but I may be mistaken. You could add an additional field using the server timestamp and then use the Firebase orderBy method to sort by timestamp

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

      Can't find the working way of sorting the data at snapshot, so in my case I just sort the data after foreach in snapshot

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

    Hey Clint, do you have a tutorial on firebase hosting and deploying I did try to deploy this app it deployed a blank page though

    • @smart.2tech
      @smart.2tech ปีที่แล้ว

      Hello man how are you i can help you if you want to deploy first project

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

    🔥🔥🔥🔥🔥🔥

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

    thanks for this content . Could you do a tutorial with django and React ?? Please

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

      Oh man I’m afraid I’m not familiar with Django. I haven’t started learning python yet.

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

    Congratulations for the channel is one of the best. I followed the tutorial but using vitejs. But, I can't make environment variables work using vitejs

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

      Let me check - Haven't used much vite, I was actually reading some of their docs the other day!

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

    Hello Sir..can u please tell me which font u r uning in ur vscode ?? (user and workspace)

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

      I am using the Material Ui for my vs code theme. They have a bunch of cool themes.

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

      @@codecommerce yeah I know about the theme but what is your vs code font in setting

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

    I have the styles set up the exact way you did but the line-through and the bg-slate-400 wont show up and i have no idea why. Super irritating but i love the vid!

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

      Hmm what are you applying the bg-slate to?

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

      I have the bg-slat applied to li and liComplete. The li has 200 and the complete has 400. My line-through is applied to the textComplete. Here is the style code block that i have.
      const style = {
      li: `flex justify-between bg-slate-200 p-4 my-2 capitalize`,
      liComplete: `flex justify-between bg-slate-400 p-4 my-2 capitalize`,
      row: `flex`,
      text: `ml-2 cursor-pointer`,
      textComplete: `ml-2 cursor-pointer line-through`,
      button: `flex cursor-pointer items-center`
      }
      Im also new to Tailwind so i might just have to learn the basics of it first and try to apply it that way.

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

    Hello, is it safe to deploy this application with our firebase keys in the frontend? Would we need to create a local server or would editing our permissions within firebase be enough to prevent unwanted manipulation of our DB? Thanks for the videos, I have created several projects based on your youtube videos - keep them coming!

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

      No - it would be wise to store your keys in a DOT ENV file.

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

      @@codecommerce Can you make a video on deployment and how to store keys in DOT ENV file?

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

    Hiii.
    I like much yours vídeos tutorials.
    But i would like to see you teach reactjs using react structure components and typescript.
    Its best practicies that makes the difference to get a job.

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว +4

      Yes I have typescript coming soon!

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

    Can you make videos on Instagram Facebook clone like we better understanding how big applications work and there structure

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

      Basit- I was just thinking about that. It would be nice to use redux and show how larger applications are built out. It’s just time consuming! 😂

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

    at 44:07 my line-through text decoration didnt work at all. anyone has the same problem?

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

      What is your code?

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

      @@codecommerce already solved it. forgot to add jsx in tailwind config.

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

      @@joelhkbn thank you so much! I was having same problem.

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

    Awesome as always!
    Can you do the same App with mongodb, please?

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

      Oh absolutely! Mongo DB coming soon!

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

    How does it work with Firebase with Redux?

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

    Sir plz create video on redux toolkit also include asyncthunk , middleware, and queries...

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

    This is a great tutorial, thanks man.
    i actuall have an issue, when i deployed this on netlify an todo added is chaneged across all platforms, when i try accesing it from another phone,i can still see the todo list from my phone, is there a way to make make different users have a new sheet when they access it

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

      Hi Toni, yes you can store user specific data. I have a couple projects like that. You could create a new “collection” with the users email and then store documents to that same user. Right now we aren’t storing any users in the database, only getting authenticated.

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

      @@codecommerce ok, thanks... I will do just that.

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

      @@codecommerce thanks for your videos, you have really helped me alot 💫💫

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

      @@oluwatobiomotosho4754 did you solved your problem can you guide me ?