How to integrate authentication and database in Firebase for Flutter App?

Viewed 27

I am currently working on a Flutter project right now, and I am just new to these which is why Im a bit confused on how things work. What is the use of Firebase's Authentication if the Real Time Database is not connected to it? I mean it should authenticate based on data stored in the database right? But how will I integrate the two without having to manually type user credentials firebase console? I want the data to be authenticated will be checked if it is in the Real Time database of Firebase.

Another question is how do I differentiate Firestore Database and Realtime database in Flutter? I am confused to which one I will be using for a project, which is a vehicle booking system. Thank you!

1 Answers
Related