I am using cloud firestore. in the AngularFirestore for a collection you can listen to the statechanges, valuechanges, snapshotchanges.
this is my structure of the do