yumby is a console application written in C# that allows a user to enter, store, and recall recipe information.
yumby also allows a user to easily adjust a recipe to suit the desired number of portions served.
data is persisted through the use of a sqlite3 database, generated locally and seeded with sample data.
db default location: Yumby.ConsoleUI/bin/
If using Visual Studio, ensure that Yumby.ConsoleUI is selected as startup project.
If using VS Code, cd to Yumby.ConsoleUI and execute dotnet run.
You might need to execute dotnet restore if you are experiencing any errors loading packages.
The database will automatically be generated and seeded with sample data within the ConsoleUI bin folder the first time you run the program.
use the up/down arrow keys to navigate menu and ENTER to select menu option.
follow the prompts
-
Create a dictionary or list, populate it with several values, retrieve at least one value, and use it in your program
see: AllRecipesPage.cs -
Add comments to your code explaining how you are using at least 2 of the solid principles
(Single Responsibility) see: ConversionUtility.cs, Menu.cs, ShoppingListAction.cs
(Interface Segregation) see: IRecipeRepository.cs, RecipeRepository.cs -
Have 2 or more tables (entities) in your application that are related and have a function return data from both entities. In entity framework, this is equivalent to a join
see: RecipeRepository.cs - GetAllRecipes() -
Query your database using a raw SQL query, not EF
see: RecipeRepository.cs - all methods -
Make your application asynchronous
see: RecipeRepository.cs - GetAllRecipesAsync()