Grocery List

This project takes a list of meals and transforms it into an aggregated grocery list. This project is in the initial development phase.


TheMealDB will be used.

Top-Level Functionality

  • Input: List of meals separated by lines in a file named meals.txt
  • Output: List of ingredients with quantities needed for all meals listed in meals.txt

Script execution

npm install
npm start

Code Coverage

Tests run using the Mocha framework. Coverage is calculated using Istanbul's nyc tool. Coverage can be found here.

Implementation Improvements

  • Return ingredients as grouped by type, ex. fruits grouped with fruits
  • Create a frontend
  • Convert ingredients to ingredient-quantity mapping