BHelpful / MomentMeal

MomentMeal is a marketplace for food and recipes. We help you find and create the best recipes and meal plans for you.
https://momentmeal.com/
GNU Affero General Public License v3.0
13 stars 5 forks source link

[Minor]: Backend for Ingredients #441

Closed Andreasgdp closed 1 year ago

Andreasgdp commented 1 year ago

Description

Model should contain the following 2 properties:

Name - Name of the ingredient

name: string

Id refering to categories

relation id done in prisma by

categoryId      Int
category        Category    @relation(fields: [categoryId], references: [id])

The season of the ingredient e.g. spring

season: string

The diet of the ingredient e.g. vegetarian

diet: string[]

It should also follow the design pattern.

CRUD functionality like the ones implemented for stores should be implemented as well.

UX

No response

Acceptance criteria

Comments / questions

No response

Code of Conduct

Andreasgdp commented 1 year ago

Blocked by #440

Andreasgdp commented 1 year ago

Is part of #552 i.e., duplicate