This project serves to showcase our work in creating a meal & calorie planner application, that allows the user to obtain their daily recommended calorie allowance depending on your age, gender, height, weight and daily activity level, and nutritional information about specific meals.
Our motivation for development was to provide a site that allows users to plan a diet which suits their lifestyle, whilst demonstrating our skills as collaborative developers. Our aim is to achieve simple and easy to use app to work out your total calorie intake depending on your daily meals.
User Story:
AS A health conscious person
I WANT to know nutritional information, tailored to my specific needs
SO THAT I can plan my meals accordingly
-
Recommdended Calorie Intake Calculation:
- Gives users the ability to calulate recommended calories based on physical attributes.
-
Total Calorie Intake Calculation:
- Allows user to calulate total daily calorie ammount based on meal items and their respective weights.
-
Responsive Design
- The webpage displays correctly and makes dynamic changes dependant on screen and window size. Application is mobile friendly. Browser icon is responsive to user's system settings for light/dark mode.
-
Macronutrient Charts:
- Allows user to calculate their recommended Macronutrients and Actual Macronutrients by using the previous meal and user data.
-
FAQ Section:
- Concise FAQ section for Users to get a better understanding of the application and how it can affect them.
-
FAQ Submission
- Application enables the user to submit their custom question if it cannot be found in the FAQ section. This is then saved in localStorage.
- Populate the "Tell us about yourself" form
- Click submit.
- Daily recommended calorie amount is displayed.
- Progress through the "Recommended Calorie" modal and enter the name of a meal item and its' weight.
- Click add item to add it to the meal list.
- Click reset, if you need to clear the Meal form.
- Click submit.
- Both calorie amounts are displayed.
- Go through steps in above sections to retrieve calorie amounts.
- Macro pie-charts are displayed under calorie amounts.
- Hover over the pie-chart slice to get information about Macro label and percentage.
- Go to FAQ section and input your question in the form field.
- Click submit.
- Your question will be logged to console, and also saved in localStorage.
Front-End Technologies:
- HTML, CSS, JavaScript.
- jQuery - widely used JavaScript library.
- Bootstrap - Open-source CSS library
- Google Fonts - Free Open-source web-font Library
- Google Charts - Free resource for adding interactive charts for browsers and mobile devices.
APIs:
- Fitness Calculator API - Used for fetching Recommended Calorie Amount.
- CalorieNinjas API - Used for Calculating Total Daily Meal Calorie Amount.
To view this project, the deployed site can be found at: https://nasinghw.github.io/Balanced-Plates-Meal-Planner
Link to GitHub Repo for this project: https://github.com/nasinghw/Balanced-Plates-Meal-Planner/
Narinder Singh:
GitHub: nasinghw
Arfin Tajammal:
GitHub: Arfinxx
Alexander Flaherty:
GitHub: Pazoraf
Roberto Medeiros:
GitHub: rober-web
Thomas Airey:
GitHub: aireytf
Udegbunam Chukwuemeka:
GitHub: emeka-egbuna
Sources referred to during development:
- Stack overflow
- W3Schools
- MDN Web Docs