ChickenKyiv / ChickenKyiv/recipe-api-only

Menu. Model updates

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
enhancement low-priority
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.