ChickenKyiv / ChickenKyiv/recipe-api-only
Menu. Model updates
- Dominant language
- JavaScript
- Stars
- 37
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Add **status** field.
- [ ] Can have 2 values: publish, draft.
- [ ] Add validation in array
- [ ] Update import-samples
- [ ] Add mocha test
Add **types** field.
Add relation with UserModel.
Add field **notes**
Add field **groceryId**
- [ ] Add relations between Grocery & Menu
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Menu model and the import-samples entry point, then inspect existing model relations, validation patterns, and Mocha tests. Done means Menu has the requested status, types, notes, and groceryId fields, a UserModel relation, a Grocery relation, updated sample imports, and tests covering the changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100