Add food to record

Registered by Nikos Milonas

Description: The user can choose to add a particular food item that they found on the NDB database (using API) to their daily food record.

Actors: All registered users

Precondition: A user has selected a food item from the list provided by the NDB API. (This food item will be from the one that was entered by the user in the search food user story)

Actions: The user can modify the date at which the food was consumed. They also add the servings of the food that was consumed. Finally the user can either choose to add the above specifications to their profile record, or they can cancel the whole process.

Post condition: The user's record will be updated with the nutritional values from the foods that were just submitted, and the user can view listing of today's consumed foods at dashboard.

Acceptance Tests:
Input:
1) A positive real number is inputted to represent the serving.

Tests:
1) Enter a negative real number

Output:
1)Throw an error message (Invalid format)

Blueprint information

Status:
Started
Approver:
None
Priority:
Low
Drafter:
Nikos Milonas
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Nikos Milonas

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.