Search food

Registered by Nikos Milonas

Description: Allows the user to use NDB API to find the nutritional value of the food they ate.

Actors: All registered users

Precondition: A user is on the home page

Actions: The user clicks on the text box "what did you eat today" where they can search the NDB database for the given food item. Once user has entered a food name and pressed "search", system should redirect user to food list page. At the page, user can modify the search terms to get more precise item, or change criteria all together.

Post condition: The database will list all the possible instances of the entered food item.

Acceptance Tests:
Input:
1) A string of characters is entered representing the type of food the user has eaten.

Tests:
1) Enter a non- existent word
2) Enter a series of integers
3) Enter food item containing commas and spaces

Output:
1) Search list should display no items, and an error message indicating there are no foods found.
2) The integer should be considered as a food, where most likely there won't be a matching food item. This should behave the same as the Test case 1
3) System should submit keyword to NDB API "as is", but should not throw URI error

Iteration: 2

Blueprint information

Status:
Started
Approver:
None
Priority:
Low
Drafter:
Nikos Milonas
Direction:
Needs approval
Assignee:
None
Definition:
New
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.