firebase login no localhost 1

firebase login no localhost

firebase login --no-localhost

Here is what the above code is Doing:
1. We’re importing the firebase_admin module.
2. We’re initializing the app with the credentials we downloaded in the previous step.
3. We’re getting a database reference to the root of the database.
4. We’re getting a reference to the users collection.
5. We’re adding a new document to the users collection.
6. We’re setting the document’s name field to “Ada”.
7. We’re setting the document’s score field to 42.
8. We’re setting the document’s role field to “Software Developer”.

Similar Posts