This console application is a simple inventory tracking system for milk/formula for young children.
The application writes to a JSON file which will begin with an inventory of zero, upon your first running of the app. If you have an existing inventory, you can simply add your existing inventory through Option 3 "Add to Freezer". If you are testing, you will find best results by adding an amount to inventory prior to testing. I would begin with 1000mL, or more, and keep your testing to a positive number. We did not limit to only positive values as real life use could result in depletion of inventory and therefore a negative value in inventory.
Within the application you can:
Check your inventory; Enter a feeding; and, Add to Freezer (Inventory). These actions are all in milliliters. You will also find options to convert your total (in milliliters) to Ounces.
The features included in the application are:
-A "Master Loop" is in place for user selection. Option 5 will allow you to exit the loop/application.
-Data is written and read to a JSON file. That data is used in the application.
-A conversion tool has been built that converts milliliters to ounces
-There have been multiple unit tests created
-Data is collected, calculated, and displated
NOTE: This application was built in Visual Studio 2022. Reviewing in an older version of Visual Studio may require language updates.
The csv file in the Repository is not currently in use.