TreeBeCa / GraceShopper

MIT License
0 stars 3 forks source link

put API route working for add to cart #51

Closed sarahtrefethen closed 5 years ago

sarahtrefethen commented 5 years ago

Assignee Tasks

Guidelines

Please add a description of this Pull Request's motivation, scope, outstanding issues or potential alternatives, reasoning behind the current solution, and any other relevant information for posterity.


PUT /api/users/:userId/activeCart/add/:treehouseId -> add one treehouse of given id to given user's active cart

PUT /api/users/:userId/activeCart/remove/:treehouseId -> remove one treehouse of given id from given user's active cart