I started using Firebase in my app, and I already have login and signUp with email and password set up. How can I persist this user in my app to make secure authenticated requests and start using Firebase's cloud storage?
I noticed that after the login(or signUp) The user gets an uid. Can this uid be stored in localStorage and be used to make authenticated requests?
I also wanted to ask something related to firebase's possibilities on databases. I'm aware of the existence of cloud firestore and realtime database. The app that I'm building is a simple photoBook where users that are authenticated can create albums, and in this albums they can upload photos. My question is: I have to use Cloud Storage to make the file uploads and the realtime database to handle users and their albums?