Context: Please create the functionality that allows to "CREATE" basket.
User Story: As a user, I want my application to be able to "CREATE" basket, so that I can call the information in my basket
Acceptance Criteria:Sceanrio 1 - Create basket - 201 CREATED
GIVEN a frontend app made a request to BE Platform
AND a call is made to POST /baskets endpoint
WHEN the basketProduct has all the mandatory
THEN the platform will persist the basketProduct in the database
Scenario 2- Create basket - 400 Bad Request
GIVEN a frontend app made a request to BE Platform
AND a call is made to POST /baskets endpoint
WHEN the basket hasn't all the mandatory fields
THEN the platform will return 400
Context: Please create the functionality that allows to "CREATE" basket.
User Story: As a user, I want my application to be able to "CREATE" basket, so that I can call the information in my basket
Acceptance Criteria: Sceanrio 1 - Create basket - 201 CREATED
GIVEN a frontend app made a request to BE Platform AND a call is made to POST /baskets endpoint WHEN the basketProduct has all the mandatory THEN the platform will persist the basketProduct in the database
Scenario 2- Create basket - 400 Bad Request
GIVEN a frontend app made a request to BE Platform AND a call is made to POST /baskets endpoint WHEN the basket hasn't all the mandatory fields THEN the platform will return 400