Angular Firebase Authentication - Implement Auth in Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2024
  • Learn how to do Angular Firebase authentication really fast. We will configure Firebase, bind it to Angular and implement registration, login, logout and getting a user for our Angular application
    TIMESTAMPS
    0:00 Introduction
    0:14 What is Firebase?
    1:07 Creating a project in Firebase
    3:28 The project
    4:29 Configuring Firebase
    6:42 Registering a user
    11:43 Adding validation
    13:13 Adding user login
    15:21 Persisting a user
    ► CHECK MY COURSES - monsterlessons-academy.com/co...
    MOST POPULAR COURSES
    ► Javascript interview questions - monsterlessons-academy.com/co...
    ► Typescript interview questions - monsterlessons-academy.com/co...
    ► React interview questions - monsterlessons-academy.com/co...
    ► Angular Interview Questions monsterlessons-academy.com/co...
    ► Building real project with Angular + NgRx - monsterlessons-academy.com/co...
    ► Building real NestJS API - monsterlessons-academy.com/co...
    ► Building real fullstack project - monsterlessons-academy.com/co...
    ► Mastering Git - monsterlessons-academy.com/co...
    ► Mastering Docker and Docker Compose - monsterlessons-academy.com/co...
    FOLLOW ME
    ► TWITTER - / monster_lessons
    ► INSTAGRAM - / monsterlessonsacademy
    ► TIKTOK - / monsterlessonsacademy
    REFERENCES
    ► Source code - github.com/monsterlessonsacad...

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

  • @firato
    @firato 8 วันที่ผ่านมา +1

    Thank you brother. Im at my first angular project clone turning it to an e commerce page and I cant stress enough that you experienced people are helping us rookies so much with such videos. Programming is Tough
    Everyone I appreciate your work!

  • @dinysanchez
    @dinysanchez 4 หลายเดือนก่อน +3

    Wow, another banger lesson from Monsterlesson Academy! 🤩 with the quality content as always! 🔥

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

    Than you so much! I was struggling for so long with this until I found your video. Greatly appreciated

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

    Many many thanks Oleksandr! 😀

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

    Thank you so much, you literally saved me, I was stuck for 8 hours with the firebase auth and this tutorial helped me a lot

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

    This is more valuable than 24k gold.
    Thank you! This was a life saver!
    Subscribed!

  • @muthiulhaqhaq3835
    @muthiulhaqhaq3835 3 หลายเดือนก่อน +1

    Simple and clear, thank you Sir. (like)

  • @bonzer111
    @bonzer111 23 วันที่ผ่านมา

    Great tutorial, thank you

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

    This video is very helpful! Please make more videos related to angular and firebase. I hope you do include Ionic with those two sooner!

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

    Great job! With new update of angular/fire (17.1.0) we should remember to move all provideXXX functions outside of the importProvidersFrom array, probably a bug

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

      Yes it is indeed a bug, I found it in their github discussion panel

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

    Thank you very much!

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

    Thank you!

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

    Great video!
    Can you show a version that uses Firestore to expand the user object and still do live update (using the signal) based on both firebase auth and firestore data?

  • @ujangaripin7630
    @ujangaripin7630 3 หลายเดือนก่อน +2

    I really like your video, it is very simple and easy to understand. I would give a suggestion. It would be better if when explaining the project structure, start from the very beginning, starting from 'ng new' so that the audience knows what has been changed in the code.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 หลายเดือนก่อน +1

      I appreciate your feedback but this video is not about basics of Angular. Starting each video from ng new is not interesting for students and make videos 15-20 mins longer.

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

      @MonsterlessonsAcademy Thank you for your reply and I am grateful for making a very helpful video for me that is not taught at my campus. I request for a video about Angular and Firebase so that people like me can learn more diligently, maybe you can make a video about Angular and Firebase (Login CRUD File upload) for the next Angular tutorial.
      Thank you very much 😇😇😇

  • @tom.wallis
    @tom.wallis 2 หลายเดือนก่อน +1

    Great video - thanks! I'm using Angular 15 and noticed Angular 17 introduced signals for state management. Is there a similar approach for managing and filtering user state in Angular 15, particularly for controlling the exposure of Firebase user details? Thanks!

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

      Just you RxJS then

    • @tom.wallis
      @tom.wallis 2 หลายเดือนก่อน

      @@MonsterlessonsAcademy thank you! Great videos, I’m finding your Angular & Auth videos really helpful.

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

    Do you have the complete code in your repository?
    In the provided link there is basically just the starter angular app without any fir stuff added.

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

      It looks like I accidently overrode all files. So no I don't have the complete code anymore.

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

    Thank you for the valuable lesson. My question is, why do you not prefer promise in angular? and What is the advantage of using Observable?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 หลายเดือนก่อน +1

      I already covered that
      th-cam.com/video/LT8pyUwZQhI/w-d-xo.htmlsi=g4wvJjFQlT0HLsR2
      Additionally in Angular everything returns an observable so using promises is not an Angular way and you limits yourself with possibilities of combining streams.

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

    When i register the user the logout option appears it Is supposed to appear when I log in Not when I registered the user

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

    Very good video. My current problem is how to implement guards. E. g. to protect the login page when a user is already logged in. Would be nice if you could make a video about that topic.

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

    Hello, thanks for the video, I have a question, how do you handle uploading this firebase configuration to github? In case of deploying it let's say vercel, how could I handle this? thank you

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

      I don't have experience on uploading it on vercel so can't say anything

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

      @MonsterlessonsAcademy Hello, I figured it out, thanks anyway

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

    thanks

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

    Very interesting but im wondering what is the point of Observable

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  4 หลายเดือนก่อน +5

      It's an observable which doesn't return any data. In our case we want to redirect a user on success but we don't care about data

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

      How do you ask such questions? Learn TS first before rushing into angular framework

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

      ​@@Yarinmimonshut up

  • @MattSouzaDev
    @MattSouzaDev 3 หลายเดือนก่อน +1

    Great video!
    It would be even more helpful if you showed how to prevent user from accessing pages when the user is not authenticated.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 หลายเดือนก่อน +1

      I have a separate video about Angular guards
      th-cam.com/video/Yc93IvrouxY/w-d-xo.htmlsi=WLImXRV24wGgHrnF

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

    how to add more data on registration for example age

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

    Can you create a video on getting and setting data with firebase realtime database with angular as there is no proper video about same

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

    this is roobt ??

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

    how can i check if a user is logged or not?

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

      I show that in the video on 15:11 th-cam.com/video/586O934xrhQ/w-d-xo.htmlsi=GKXsSPtoMzE4eFLa&t=921

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

      @@MonsterlessonsAcademy thanks a lot

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

    I love you

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

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

    i don't understand the app.config.ts file i didn't see that before what does it do and what is it 🫥

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

      It's just a config that we use in main.ts. Angular generates it by default.

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

      @@MonsterlessonsAcademy actually the provider thing it's very confusing how to do it more easily ? where the provider thing I want to handle it to the main app module cause here its very confusing