As a User/Admin, I can add ingredients to the database, so that I can maintain consistency across recipes and facilitate the process of building new recipes.
Tasks:
[ ] Create an Ingredient database model.
[ ] Create a template to add ingredients.
Acceptance Criteria:
[ ] The user with permission can access the Manage Ingredients section.
[ ] In the Manage Ingredients section, the user should be able to add a new ingredient to the database.
[ ] When adding a new ingredient, they should input all relevant tags.
[ ] The user should be able to edit existing ingredients in the database.
[ ] The system should prevent the deletion of an ingredient if it is currently being used in any existing recipe to maintain data integrity.
[ ] The Manage Ingredients section should include search and filter functionalities to quickly locate specific ingredients.
[ ] The user should receive a notification after the successful addition or modification of an ingredient.
[ ] The system should provide suggestions or autocomplete functionality when users add ingredients to recipes, pulling from the database for consistency.
[ ] The Manage Ingredients section should display a list of all ingredients in the database, showing key information such as name, category, and usage frequency.
[ ] The ingredients database should be designed to handle many entries efficiently.
As a User/Admin, I can add ingredients to the database, so that I can maintain consistency across recipes and facilitate the process of building new recipes.
Tasks:
Acceptance Criteria: