I need guidance as to how to structure some data for a better extraction and utilization of these.
The data I have has a structure similar to this:
Clima->
region->provincia->ciudad->Farmnacias->
Bencinas->
informacion_adicional->
varios_datos_mas
and what I did was create each node separately identifying each node with a ID
of the region, province and city leaving something like this:
region
provincia->idregion
ciudad->idregion, idprovincia
Clima->idciudad, idregion,idprovincia
Farmnacias->idciudad, idregion,idprovincia
Bencinas->idciudad, idregion,idprovincia
All these are inserted from php
to firebase
database and then to an app in angualrJs2
and ionic2
, I would appreciate any help.