tvaroglu / spot_me_frontend

SpotMe is a 10-day, 6 person project, during Mod 3 of 4 for Turing School's Back End Engineering Program.
https://spotme-app.herokuapp.com
3 stars 1 forks source link

Gym in Common Endpoint? #85

Open Scott-Borecki opened 3 years ago

Scott-Borecki commented 3 years ago

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.