Very new here and looking for some guidance on best practices.
Pet tracking app:
- User creates multiple animal profiles
- Each pet profile has different data associated with it ie:
→ Vaccination info, General information, Insurance information, medical information
Where I’m stuck:
On the pet profile page, I am using the tab element to display each category of info.
The first tab, “profile” info pulls in the correct data, that is only associated to the profile, however, I cannot get the rest of the tabs to do the same. Currently pulls all the data in the database.
Should each info group be its own data source?
If so, would they then have a parental relationship with the pet profile?
Then how do I go about pulling the rest of the data for a specific profile?
Thanks in advance!