day-cohort-70 / bangazon-api-i-like-planes-api

bangazon-api-i-like-planes-api created by GitHub Classroom
1 stars 0 forks source link

Feature: Users can favorite a store #16

Closed stevebrownlee closed 2 months ago

stevebrownlee commented 3 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