In the previous post, we set up authentication. Now that the user is authenticated, we can store and retrieve data from the database specific to that user.
Modeling the data
The Firebase Database documentation explains how to model data in a way that avoids data duplication. It's called data normalization,