This is a recipe builder application that stores the ingredients and instructions for a recipe.
The application allows for recipes to be scaled by a factor of 0.5x, 2x and 3x.
----------------------------------------------
Link to Github repository: https://github.com/Entropy-3/ST10249266_PROG_POE/tree/PART_1
----------------------------------------------
PREREQUISITES
----------------------------------------------
1) Go to this link https://visualstudio.microsoft.com/vs/community/
2) Download visual studio community
3) Install visual studio
----------------------------------------------
HOW TO RUN (method 1):
----------------------------------------------
1) Open the green tab in the top right called code.
2) Copy the link under the HTTPS: text.
3) Open visual studio code.
4) Select the option to clone a repository.
5) paste the link in the first bar at the top that asks for the repository link.
6) In your solutrion explorer (often found on the left of your screen) click the arrow next to the ST10249266_PROG_POE project.
7) Open Program.cs.
8) Hit run
--There is sometimes an issue when cloning a repository where the code wont run, should this happen restart your Visual Studio but instad of cloning a repository select to open a project and find ST10249266_PROG_POE and open it. then repeat steps 6, 7 and 8 again.--
----------------------------------------------
HOW TO RUN (method 2):
----------------------------------------------
1) Open the green tab in the top right called code.
2) Select the option to download the code as a ZIP file.
3) Go to your downloads folder.
4) Extract the files to a location of your choice.
5) Open Visual Studio.
6) Select the option on the right to open a project.
7) Find the extracted files and select the folder.
8) Open ST10249266_PROG_POE/sln
9) In your solutrion explorer (often found on the left of your screen) click the arrow next to the ST10249266_PROG_POE project.
10) Open Program.cs.
11) Hit run
----------------------------------------------
CHANGE LOG (V2.0)
----------------------------------------------
~Added functionality for multiple recipes to be saved.
~Added functionality for giving an ingredient a food group.
~Added functionality for giving an ingredient a caloric value.
~Added a warning feature for when an ingredient has a caloric value greater than 300.
~Added fucntionality to scale the unit of measurement when needed. i.e. 16 tablespoons = 1 cup.(on lecturers feedback)
~Added more error handling and input validation.(on lecturers feedback)
----------------------------------------------
CHANGE LOG (V2.0)
----------------------------------------------
~Changed from console application to GUI
~Added a way to see all recipes at once
~Added more sorting and filtering to allow for a recipe to be found based on food group or calories
~Removed unneccessary methods to improve code efficiency
----------------------------------------------
REFERENCES:
----------------------------------------------
~GithubCopilot
~https://www.youtube.com/watch?v=WhACXlObR8s
~https://www.youtube.com/watch?v=aLhAmimoQj8
~https://www.youtube.com/watch?v=bBDmL0U-4U8
~https://www.gosh.nhs.uk/conditions-and-treatments/general-health-advice-children/eat-smart/food-science/food-group-fun/
~https://www.youtube.com/watch?v=uAhVpw8zzm4
~https://youtu.be/4DZZadT2RPs?si=sgOhN9lanzWgOWep
~https://www.c-sharpcorner.com/blogs/how-to-pass-value-from-one-form-to-another-form-in-wpf1
~https://www.youtube.com/watch?v=gu_SmFnD-pA