If you're choosing between Realtime Database vs. Firestore, definitely go for Firestore. As far as I can tell, Realtime Database just exists for compatibility with legacy projects that depend on it. Firestore is much more modern, easier to work with, has more functionality, better performance (in most cases), and if you need to in the future for some reason, there's an option to run it standalone on GCP rather than integrated with Firebase (whereas Realtime Database only works within the Firebase framework).