Make an endpoint on the backend that identifies which gyms the current_user and other users have in common. It is possible that existing endpoints could be improved to all send along with gym data with each user in the get_users sort of endpoints.
On the front end, we would need to update the User poro to have an attribute for gyms that would be an array of gym objects.
This would be used in the Dashboard, Profile, and Gym Show displays with the user cards.
Make an endpoint on the backend that identifies which gyms the
current_user
and other users have in common. It is possible that existing endpoints could be improved to all send along with gym data with each user in theget_users
sort of endpoints.On the front end, we would need to update the User poro to have an attribute for
gyms
that would be an array ofgym
objects.This would be used in the Dashboard, Profile, and Gym Show displays with the user cards.