Posts

Showing posts from November, 2020

How to Connect Firebase Using Pyrebase In Python

pyrebase python documentation or how to Connect Firebase For Authenticate and Database Usage If you do not Install then install using "pip install Pyrebase" Add Pyrebase to your application For use with only user based authentication we can create the following configuration : import pyrebase config = { "apiKey" : "apiKey" , "authDomain" : "projectId.firebaseapp.com" , "databaseURL" : "https://databaseName.firebaseio.com" , "storageBucket" : "projectId.appspot.com" } firebase = pyrebase.initialize_app(config) We can optionally add a service account credential to our configuration that will allow our server to authenticate with Firebase as an admin and disregard any security rules. create project using Firebase -- https://console.firebase.google.com/ import pyrebase config = { "apiKey" : "apiKey" , "authDomain" : "projectId.firebaseapp.com" , ...