Given a user wants to view all products being sold by another user
When the client performs a POST request to /profile/favoritesellersThen the store will be added to the current user's favorites list
The id of the store to be favorited should be in the request body.
{
"store_id": 3
}
All favorite stores should be displayed in the user profile
Given a user wants to view all products being sold by another user When the client performs a POST request to
/profile/favoritesellers
Then the store will be added to the current user's favorites listThe
id
of the store to be favorited should be in the request body.All favorite stores should be displayed in the user profile