Kennygunderman / state-of-health-tracker

State of Health Fitness Tracking App | Built with React-Native
https://thestateofhealth.com/
356 stars 95 forks source link

Add support for "Foundational" Food items from USDA Search API #26

Open Kennygunderman opened 2 months ago

Kennygunderman commented 2 months ago

When a user does a search, we should also search for foundational food items. Foundational food items include basic nutrition facts for things like fruits, veggies, poultry, etc.

This new search function should be combined with searchBrandedFoods in the FoodSearchService file.

Right now we only have support for "Branded" Food items. I thought I implemented support for foundational items, but I guess I didn't

API Docs for API: https://app.swaggerhub.com/apis/fdcnal/food-data_central_api/1.0.1#/FoundationFoodItem