Need help and advices structing and retrieving firebase data


#1

Hello everyone, i need some help to struct my firebase data.

I have a database struct like this, so i have a data (that will be actually a date, like 10/05/2018) a dinner and a lunch. Inside lunch and dinner, I will have meals, such as dessert, juice, salad, etc …

I do not know if this is the proper way to handle the data, and I would like some help on that. My idea is just to consume this data in an ionic application.