ChickenKyiv / ChickenKyiv/recipe-api-only
Grocery. Advanced functionality(not finished)
- Dominant language
- JavaScript
- Stars
- 37
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Generate grocery list from menu, by menuId. So you can add items, not related to menus, but you want to store them in grocery for this particularly week. Example: add wine, water, shampoo bottle, etc.
Add/Delete items to grocery list
Clean up(wipe all) information from grocery, by groceryId
and remove relation between menu and grocery(Menu.groceryId) use after remote method.
Move this ingredient(grocery list item) to a next(or choose week+2 for example) week.
we send groceryId, Item_id
You can increase(decrease) item quantities.
**Methods**
generate grocery (menu id)
is generated grocery (check if we have not empty field groceryId return true)
grocery edit (grocery_id)
grocery edit (menu_id)
grocery delete (grocery_id) + remove grocery_id from menu record
grocery template
-> when we have only departments with empty objects
**not sure if we really need this**
Grocery don't have прямых связей с departments, скорее это связь идет через ingredients
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by locating the existing menu, ingredient, department, and grocery API models or entry points, then clarify the grocery lifecycle and week-movement behavior before implementation; done means the listed generate, edit, delete, quantity, and item-management operations work with menu relations handled correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100