The steps I use for a professional Firebase set up with Emulators in Angular

The steps I use for a professional Firebase set up with Emulators in Angular

Joshua Morony

1 год назад

5,473 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@rhegde27041983
@rhegde27041983 - 15.10.2023 11:37

Real good simple and most important "end-to-end" example. Loved it Joshua!

Ответить
@maxtuzenko9708
@maxtuzenko9708 - 30.06.2023 13:41

With this approach I am getting a "NullInjectorError: NullInjectorError: No provider for InjectionToken angularfire2.app.options!". Not sure why. Also, what is the difference between "provideFirebaseApp(() => initializeApp(environment.firebase.config))" and "AngularFireModule.initializeApp(environment.firebase.config)"??

Ответить
@stevenaschoff
@stevenaschoff - 06.03.2023 16:03

I may be an idiot, but I followed this to the letter and my app is not using the emulators. So strange. Everything looks like it should logically work, yet when I fire up the app and do things like sign up a user, I'm hitting my live database. No compile errors and I am using the useEmulators flag from environment variables in app.module ... not sure what else I could be missing. So puzzling. Is there some special way I am suppose to get the auth instance in my service?
Update: I had to use the providers for all of the emulators. The connectoXXXEmulator just did not work using the provide methods in the imports section. I am using Angular 15 and am using the compat versions of angular-fire. Maybe that is why? Very odd as it all looked like you would think "how could it not work" :) ... Interesting video nonetheless!

Ответить
@kaibe5241
@kaibe5241 - 22.01.2023 15:42

Mate, fellow aussie here. Thank you so much for this - my god there's so much here to setup and configure, I can see running this solo and learning it all would be a real time sink. Thank you!

Ответить
@theanswer1993
@theanswer1993 - 16.01.2023 16:33

Hey I get the following error: Firebase: There is no user record corresponding to this identifier. The user may have been deleted.

Do you maybe know how can I resolve this?

I also cloned your repo and just adjusted the firebase config and implemented a simple signIn with email and password.

Ответить
@ruoyigao9826
@ruoyigao9826 - 08.08.2022 04:28

gem of angular development!

Ответить
@debottamupadhyaya3851
@debottamupadhyaya3851 - 06.08.2022 17:43

what is this terminal you are using, I want to setup the terminal like this

Ответить
@balajeebala7810
@balajeebala7810 - 30.07.2022 06:30

it's not working for me, my emulators are up running but if I update a document, it is reflected in the firebase console, but not in my emulator

Ответить
@torbenbang4259
@torbenbang4259 - 14.07.2022 11:04

This is a very good and informative video. What is your prefered way to setup Firebase and angular in a NX project?

Ответить
@rodrigogiusti1451
@rodrigogiusti1451 - 13.07.2022 16:09

This video is a 10. Thanks!!

Ответить