What's in my Food

Requirements

We will be querying the FoodData Central API with an ingredient to retrieve a list of the ten most relevant foods that include that ingredient.

First, sign up for an API key here: https://fdc.nal.usda.gov/api-key-signup.html

The documentation for the API can be found here: https://fdc.nal.usda.gov/api-guide.html

Make sure you take the time to read the API documentation carefully.

Setup

This app uses Ruby 3.2.2 and Rails 7.0.x.

  • Fork and Clone this repo
  • bundle install
  • rails db:{create}
  • rails s

When the assessment begins, you will be asked to complete a user story. Be sure to TDD all of your work. Commit your work every 15 minutes.

Notes:

  • Running the app and visiting the home page will show an error - THIS IS INTENTIONAL!
  • Make sure you read the user story closely, each portion must be completed correctly in order for it to be considered passing.