React Firebase Realtime Chat App Tutorial | Firebase V9+ Beginner Tutorial

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

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

  • @gusget
    @gusget Год назад +17

    just for everyone who wants to replicate the code: the library to install is universal-cookie , without the "s" at the end

  • @deadtome2102
    @deadtome2102 Год назад +21

    Exactly what I was looking for! Thank you for keeping it simple! 🙏 As a beginner, I'd much rather focus on the functionality than spend two hours designing the UI. I wish more content creators would keep the beginner in mind and create tutorials that were focused on simple apps and functionality rather than these elaborate three hour projects that are design heavy. Thanks mate!

  • @oncoding4520
    @oncoding4520 Год назад +26

    Really love this kind of tutorial when you focus more on the logic on the pattern than on the CSS. Like for example as a beginner is more clear when you see the logic with a not so good css than to see the logic with a lot of css that you can copy and paste it because in your mind is like "holy sh*it am not good now at css so after react lets go to css". And you end up back end forth not learning anything. At least all your videos is the logic the pattern that can be available everywhere. so keep pushing and thank you for your effort

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

      Totally agree with this. I get really annoyed at some popular youtubers claiming you can be an employable frontend dev after their 10hr course.. when that 10hrs is just spent typing out prewritten css and no time is spent on stuff like routes, state etc.

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

      the map one is not working sir meaning its doing all the things but its not displaying the message on the screen and the also others message, basically after sending not able to see any messages

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

      ​@@heisenberg73215check if map one is returning

  • @leroyjeslyn6570
    @leroyjeslyn6570 Год назад +9

    A little heads up for UNIVERSAL-COOKIES INSTALL ERROR,
    the module's name is universal-cookie not universal-cookies

  • @sekmekci
    @sekmekci Год назад +3

    I just finished your old Chat App video. The timing is awesome, thanks for the tutorials!

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

    I honestly love your way of teaching. You deliver very high quality information in a way that even a 5 year old can understand. Please keep up the good work I enjoy learning from your videos a lot!

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

    I really like creators like you who update their videos when the technology behind them also updates(unlike those who upload a video once and leave us to struggle with the version updates 😕😕)

  • @diegonacif9359
    @diegonacif9359 Год назад +3

    Pelo que entendi você também fala português. Então muito muito obrigado por esse conteúdo, Pedro!
    Me ajudou demais! Eu tenho usado bastante o firebase nos meus projetos e seus conteúdos sobre isso me ajudaram demais!
    Eu não sou fluente em inglês, mas consigo entender perfeitamente você falando.
    Se não fosse seu canal, provavelmente eu ainda estaria atolado em algum ponto muito atrás de onde estou hoje.
    Admiração total, cara! Sucesso!!!

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

    You are one of the few talented person I knew in react. Great work bro. Wish you all success ahead. People have to recognize your work more and more.

  • @slaffsla
    @slaffsla Год назад +3

    This was a really nice follow-up for your course, I feel I needed it. I tried to not simply copy the code and sometimes do stuff myself, there were a couple of points I was stuck because of some ridiculous brackets or naming clashes though. Thanks, Pedro!

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

    Thank you ! This is the best tutorial! It explains everything from scratch and it isn"t rushed. I've been trying to do this for a long time!

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

    successfully completed this project , pushed it to github and hosted using firebase tools :)
    thanks pedro

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

      Nice work!

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

      how did you deploy?
      i want configure the firebase database in production.. i can't seems to see any video on youtube addressing this

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

      How did you hosted it

  • @atanunayak6637
    @atanunayak6637 10 месяцев назад +1

    Exactly what I was looking for! ❤

  • @englishtestdaily2415
    @englishtestdaily2415 4 месяца назад

    A huge fan of your teaching style from India

  • @Hacking-NASSA-with-HTML
    @Hacking-NASSA-with-HTML Год назад +2

    ❤Just a comment to boost the signal of the video✅ Thank you Pedro 👍🤝

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

    I like the way how you explain everything, step by step; it makes everything clear and easy! For sure will follow you!

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

    Finished the tutorial, this video was so good, it was pretty simple that I was able to follow and apply I've gained here in my personal projects! Keep it up!

  • @thesnedit5406
    @thesnedit5406 4 месяца назад

    Great tutorial ! As a react beginner I learned many new concepts. Thank you! ❤

  • @naylord5
    @naylord5 Год назад +3

    Ted Mosby, I see you are a man of culture =D
    Thank you so much for sharing this!

  • @elkanaliman-wj2us
    @elkanaliman-wj2us Год назад

    I appreciate this. And also the fact that you used Ted Mosby.

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

    keep doing these.thanks for focusing on the functionality

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

    You might want to save the user id rather than the username in the message in case that ever changes. You also have access to other fields in the user record in the future. Thanks for the video!

  • @burakalkan6553
    @burakalkan6553 7 месяцев назад

    I'm not sure about your data saves . for example I think we must save like : messages/room_name/and messages here . This cold be more logical I guess.
    edit : he is fetching data from room with where() but I think that might be not a great idea . BUT that's a great tutorial for beginners . Thanks pedro !

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

    what an amazing tutorial from start to finish, this guy never disappoint and I'm really looking forward for your future videos.🙏

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

    Thank you! I learned a lot from this course. Please make more react project courses!!!

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

    Your channel is heaven to me.

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

    It's very interesting. Short and explaining what's most important🙏

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

    You are the best man! I really appreciated your tutorials.

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

    Love Portuguese accent ❤

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

    Straight to the point video and very clear! Keep doing theses, thanks a lot!

  • @julia-tl5lp
    @julia-tl5lp Год назад

    Congratulations for the tutorial! It really does check all the boxes :)

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

    OMG, whole video is what I am trying to do and you made me make it possible. Thanks.🎉(subscribed)

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

      and I want to make authentication anonymous, do you have any tuto for this if you have please paste the link here else can you make it? Your tutorials are too good.🎉

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

    Great tutorial, please continue more about firebase, i.e cloud functions, complex queries etc.
    Maybe it would be good idea to make a small project of online streaming movies with firebase, structuring the layout of collections.
    Auth users to add some movies into their favorite list of movies and a bunch of interesting stuff can be made with firebase+react.
    Please don't stop ❤️👍

  • @m.varunreddy7365
    @m.varunreddy7365 Год назад

    thanks a lot, perfect tutorial, more on functionality, loved it, learnt a lot!!

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

    Great video man, loving your work and the way you explaining what you are doing and how you do it

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

    Very Well developed Really helpful for React beginners

  • @johndam2516
    @johndam2516 29 дней назад

    Thank you for this guide help me a lot.

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

    Thank You so much!! Completed this project.

  • @mma-dost
    @mma-dost Год назад +1

    Thanks pedro bro you are great your previous video of react router really helped i was confused as was reading new docs because no tutorial on new version yours was the first on youtube. Thanks . Can next project be mern project good project covering auth and all necessary stuff please.

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

    Pedro is THE GUY

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

    just when i started building an app with firebase realtime database. thanks

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

    Thanks Pedro, Reall love your tutorial

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

    when 16:16 and when you are about to log in, sometimes it does not ask you to log in because you are already logged in (I swear this is not a tongue twister).
    In my case Popup appeared (meaning it work -?) but it did not show the information I was expecting but went first blank ,and then away.
    This caused me quite a few doubts until I realised that perhaps I was already logged in.
    Is there a way to check if I am already logged in? (inspect element?)

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

    You have gained yourself a subscriber this is a great tutorial😍

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

    Another great video... I'm a huge fan of your content. Appreciate your hard work

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

    Which video for learning "cleaning up the useeffect"? I think I saw 4 different videos you had and after watching all 4, I still don't understand it and I didn't see anything about cleaning it with the "return () => unsubscribe". Can you give me the video title for it?

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

    Thanks for providing knowledge for free appreciate your hard work thanks

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

    Hi Pedro, I hope you're having a great day.
    I appreciate it if you can do a tutorial of analytics.
    I wish you the best.
    Thanks in advance.

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

    Really enjoyed this! thank you for the content

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

    Thank you man, really helpful video

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

    Hello Pedro! First off thanks a lot! Can you help please, when i use "signInWith Popup", after click on the button, the new tab opens and there is an error in console "Cross-Origin-Opener-Policy policy would block the window.closed call". Any ideas how to fix? 😊

  • @yassinechritt8816
    @yassinechritt8816 7 месяцев назад

    Hey, i've noticed that 'universal-cookies''s commands have changed lately, can you please make a new video explaining how to use the new one or how to use a better library if one exists. Thanks in advance!

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

    I noticed you blurred your email from the popup but it didn't blur it when you showed the console log. Just letting you know in case you didn't notice! Great vid.

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

    Hey Pedro, can you consider making polls on the course you plan to release?

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

    the map one is not working sir meaning its doing all the things but its not displaying the message on the screen and the also others message, basically after sending not able to see any messages

  • @xd9050
    @xd9050 Год назад +4

    5:35 universal-cookie *

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

    Niiiice, very great tutorial. Thank you for your service

  • @JohnSmith-do4oe
    @JohnSmith-do4oe 5 месяцев назад

    small question, why did you use empty tags instead of div to wrap the components at 1:06:40?

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

    u the man bro🔥🔥

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

    Pedro, any plans about Angular?? Please bring some tutorials on Angular Js.

    • @PedroTechnologies
      @PedroTechnologies  Год назад +3

      I dont know angular hahahaha

    • @mma-dost
      @mma-dost Год назад

      @@PedroTechnologies react js lovers hahahah great

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

      Bruh! Who the fuck uses Angular

    • @mma-dost
      @mma-dost Год назад

      @@nidhishsrivastava4868 what's wrong with angular ? A lot of developers uses angular man :)

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

      @@PedroTechnologies I want to know how do developers learn their first technologies? I mean beginner like us take help of tutorials from RUclips. But which process does developer follow. Pl. Tell😁
      Take ur example and say how would you learn a totally new Technology. I want to see your process of learning. Please please 🥺.

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

    Hello Pedro, can you tell me about which web hosting should i buy i am looking for the cheapest ones

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

    Is there a work around towards Quotas? Maybe a new video without Firebase? This helped a lot but I ran into the Quota exceeded issue.

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

    when i host my site to gh-pages why the authentication not working

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

    Really , thank you !!

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

    Awesome video thanks 10/10 stars ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐

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

    so simple and cool) i like it

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

    Why for input you didn`t used just a form submit?

  • @souvikdatta97
    @souvikdatta97 9 месяцев назад

    Thanks for the awesome tutorial but I have a note:
    There is some kind of issue with the code may be due to which the firebase quota is getting finished very fast after sending a few messages. Is there any way to improve the performance by reducing the number of reads done to the database?

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

    amazing bro!

  • @ohisideho3460
    @ohisideho3460 4 месяца назад

    Hiw to add a query to get almessages from any room you enter in the input?

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

    hope u also make a tutorial on how to make a video calling react js and firebase app

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

    hey, pedro just wanted to know is firebase better than MongoDB ? and why do you use it so much... I am building a project I used MongoDB in it, should I use fireabse for future projects ?

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

    Is there a way to refresh the chat history on demand, so that the quota does not get exhausted quickly?

  • @Unity_with_Umar
    @Unity_with_Umar 4 месяца назад

    You were hiding email every time a pop up appears, but still you showed your email in the console data. 19:17

  • @make-it_happen
    @make-it_happen Год назад

    thanks a bunch, can you please make a video about stripe js

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

    Thank you so much.

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

    universal-cookies doesn't exist on npm. Did he mean universal-cookie?

  • @subratkarmacharya8125
    @subratkarmacharya8125 2 месяца назад

    Great tutorial.....

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

    Any one having problem with message that the messages are not appearing on the screen it will send directly

    • @prajwalshaw9217
      @prajwalshaw9217 8 месяцев назад +1

      were you able to solve the problem..?..becoz I was facing a similar problem while making an expense tracker app using react and firebase after watching pedro's tutorial

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

      No brother ​@@prajwalshaw9217

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

      Same thing

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

      Please 😢help me

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

    do you use any type of chryptography on this?

  • @harrij.9542
    @harrij.9542 10 месяцев назад

    Hi, can this work without having to sign in with Google account? Thanks,

  • @ОлександрУрбанський-к1л

    COOL! THANKS!

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

    Thanks alot

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

    Bro i exactly coded like you but the message renders only after when I click and type something in the input (not immediately rendering the previous messages) and after send the new messages it again load another set of messages (now I have two set one without the new message and below that a new set of messages with that i typed and sent)
    Pls help me out

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 10 месяцев назад

    Thank you

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

    Common Pedro W

  • @hakanaki
    @hakanaki 7 месяцев назад

    you're hard coding the users name, what if the user changes their name?

  • @ayaya28
    @ayaya28 4 месяца назад

    will it work without internet connection locally?

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

    You created a chatroom, not a chat app (commonly referred to)

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

    how to deploy this project into the firebase

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

    Hey another great tutorial, but i have a question, is it safe to put this "firebaseConfig" on the frontend ?... for example the "apiKey and appId" data ? cause anybody can see it , since in the Frontend code ? By the way, thankx fo sharing this awesome tutorial !! 😎👍

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

      It isn't safe you can use env variables

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

    great video as always how should we hide the sdk info and still have it on github i looked everywhere for a solution i want to display my project on github and hide the info at the same time i found out i can encrypt the info or not commit any info on github which means i need to host it somewhere else or delete the info and send with cloud functions or make a mini backend that will have the info and send with express routing what would be a best practice solution for this the info needs to be hidden from the sources tab in inspect mode i 'm trying to learn how to make a more secure app do you have any advice for that

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

      you can add a .env file to hide secret information there and use them on your projects

  • @Art-fx7sh
    @Art-fx7sh 7 месяцев назад

    bro I love you

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

    Pls make full realtime chat application with nice ui for portfolio

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

    Un Video de Push notifications please con FCM y Postman

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

    how to deal with overflowing of messages? what if a room has 100+ messages?

    • @IshikawaYuuji
      @IshikawaYuuji 4 месяца назад

      Just wrap the messages in a container and set the overflow-y to be auto

  • @FelipeAlves-wr1nr
    @FelipeAlves-wr1nr Год назад

    at 52:02 can I use map?

  • @АбайАлиев-ъ7п
    @АбайАлиев-ъ7п 8 месяцев назад

    What happens when user after signing in refreshes the page, where do you keep the user data like email, because if I am correct auth.currentuser is null, but in this case you only have user refresh token. Did I misunderstand something ?

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

      Can you please 🙏 help my chat is not sending

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

      It's also not showing in the firebase database

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

    Nive. Thank you

  • @manhlinhnguyen.51
    @manhlinhnguyen.51 Год назад

    Always soon :)))