day-cohort-70 / Bangazon-API-BandyChamps

0 stars 0 forks source link

Feature: Users can favorite a store #29

Open stevebrownlee opened 2 months ago

stevebrownlee commented 2 months ago

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 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