# Nutrio ## Slovensky Nutrio je aplikacia na planovanie jedal a sledovanie vyzivovych hodnot. ### Specifikacia - Backend je v PHP a frontend vo Vue.js. - Jeden jedalnicek predstavuje jednu cast dna: ranajky, obed alebo vecera. - Pre kazdu cast dna sa pridavaju suroviny. - Kazda surovina ma vyzivove hodnoty na 100 g: - bielkoviny - cukry - tuky - Pri skladani jedalnicka sa vyberie surovina a zada sa hmotnost. - Aplikacia vypocita celkove hodnoty suroviny podla hmotnosti. - Aplikacia vypocita kalorie pre surovinu a nasledne ich zhrnie pre cely jedalnicek. - Neskor bude mozne v diari pre konkretny den vybrat, ktore jedalnicky boli pouzite pre ranajky, obed a veceru. - Aplikacia nasledne vypocita sucty za cely den. ## English Nutrio is an application for meal planning and nutrition tracking. ### Specification - The backend is built in PHP and the frontend in Vue.js. - One meal plan represents one part of the day: breakfast, lunch, or dinner. - Ingredients are added for each part of the day. - Each ingredient stores nutrition values per 100 g: - protein - sugar - fat - While building a meal plan, the user selects an ingredient and enters its weight. - The application calculates total ingredient values based on the entered weight. - The application calculates calories for each ingredient and then sums them for the whole meal plan. - Later, in a daily diary, the user will select which meal plans were used for breakfast, lunch, and dinner on a specific day. - The application then calculates totals for the entire day.