In this steps, we're going to setup our firebase project & obtain required firebase key
Navigate to https://firebase.google.com/ & login with your google account, then create new project
Navigate to Authentication, then enable Email login
Navigate to real-time database rules & update rules as follows.
{
"rules": {
".read": true,
".write": true
}
}
Navigate to firebase cloud storage rules & update rules as follows
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
allow read, write: if request.auth == null;
}
}
}
Note: Here we haven't added any high security rule for testing purpose. later you can modify this as per your security concern.
- created firebase project
- enabled email auth
- Updated firebase realtime database rule
- updated firebase storage rules