Self hosted shopping list
- A
ListGroup
(type of store), ex: Grocery, is made up of invidiualList
objects (store), ex: Kroger - A
Category
is a grouping ofItem
objects associated to aListGroup
, ex: Produce - An
Item
is a object that is associated to aCategory
, ex: Bananas - A
UnitOfMeasure
is used to determine the typical measurement for anItem
, ex: Pound - A
ListItem
is an item associated to aListGroup
and can customize the following values perList
- stocked here
- category
- purchase count
- note
-
Model CRUD Endpoints
- ShoppingListAGroup
- ShoppingList
- Category
- UnitOfMeasure
- Item #- ListItem
- ListCustomization
- Users
-
Function Endpoints
-
Add item to list group
- Create list customization object it not present
- create ListItem for each list in shopping list group
-
Mark item completed
- update
completed
inListItem
object for each list in shopping list group - increment purchase count in list customization object
- update
-
Remove item from list group
- update
active
inListItem
object
- update
-