Manuscript
Manuscript
____________________________________________________________________________________________
Gordon College
Daryl Tadeo
Paolo Miranda
Submitted to:
Many people like students, workers or even people at home are looking
for a way to diet. Although many people tend to diet in their own way without
thinking twice what will be the result of it. Despite having many kinds or way of
dieting most of them are just doing they’re diet routines on their own, without
considering the fact that they’re doing diet routines that affecting their own
health. Although they just want the result to lessen fats and become more fit.
With the help of the survey and interviews the researchers found out that the
random ways of dieting can become a big problem for one’s health. The results
say’s that there is an existing difficulty for a person when dieting. Also they are
experiencing problems such as: how they diet without going to gym and working
out. Also what food would they eat if they want to have a healthy diet. As the
application development title suggest, this assistive health & fitness application
using enhanced abc algorithm is all about developing web and mobile
application for the proponents and provide smart way to diet. This application
aims to provide the proponents smart diet strategies or plans that is built with
food sets and home workouts that enables them to workout at home. Another
is build an environment for the application administrator that makes it easy for
Title Page
Executive Summary
1.3 Objective 2
Chapter 5 – References/Bibliography 62
APPENDICES
4. User Guide
5. Process/Data/Information Flow
8. Curriculum Vitae
LIST OF FIGURES, LIST OF TABLES, LIST OF NOTATIONS
problems are existing. In form of not proper diet, not proper workout and many
more problems related to this like lack of financial capability and lack of
knowledge on how to diet properly. That is why many people is tend to become
unhealthy in a way that some looks thin but healthy and some looks overweight
yet they’re still healthy looks strange isn’t it? Also there are some that is
overweight but feels light and healthy on their own and there are also some that
is underweight but feels perfectly fine and strong as well. So why this scenarios
happening? In the first glance nutrition is about the foods we eat that nourishes
our body and it helps us become strong and grow. But many of us tends to have
Workout and nutrition is the best partner in making our health good and
fortify our bodies. It promotes the balanced and relativity of our body and our
health condition. We also sought that this is very effective way to become fit
and healthy. In today’s generation that has many more process foods and fast
foods that is basically delicious yet not recommended if we talk about healthy
foods, So we need to find a way to have an Idea what food to eat and what will
be the ideal foods for our health status. In that way we can become healthy plus
doing the workouts will make it more fun and produce greater results in our
body shape. Lastly one must have the hard work and strong will within
ourselves to become a healthy person and it all starts with our self-discipline
1
1.1 PROJECT CONTEXT
unhealthy way of diet. Also there are some that is becoming fit using their diet
methods but becomes fir unnaturally that affects his/her own health too. There
are also some that wants to be fit that wants to go to the gym to workout but
didn’t have the financial capacity to take the gyms program. Others are just not
eating at night and sometimes just nothing eat at all that is a bad habit of dieting.
So the researchers came up to the solution to build an application that will assist
them with their diet goals. Thru the help suggested plans that they can take that
is made personally for them. This will give users ideas and foods they can eat
to support their diet routine and make it a healthy one. Also with the help of
home workout sets that didn’t need any equipment and they can do anytime at
for a good way to take a diet. In a way that they can avoid unhealthy diet
routines that might get them sick and weak internally. The researchers seek to
create an application that will give them personal dietary plans for them base
on their health status calculated through their age and Body Mass index that
2
1.3 OBJECTIVE
for the users and also to replace the idea of self-taught dieting and unguided
The proposed web and mobile application for now will focus on the
features that will lead someone to a healthy way of dieting using our application
in which this have they’re health checker (BMI Calculator), Diet strategies,
Personal planner and they can also see their history in which they can know if
CHAPTER II
RELATED LITERATURE
The following related studies are taken into account by the researcher to be
3
Healthy Out
Americans tend to eat out a lot, and at restaurants and take-out joints people
often give themselves a “hall pass” from healthy eating. This can result in a
But eating out doesn’t have to be a guilty pleasure. Many restaurants offer
healthy options that align with even the strictest eating plans. HealthyOut helps
you find them. It provides access to menus of local restaurants, and matches
Calorie Counter & Food Diary by MyNetDiary is one of several popular food
diary apps. To get the most out of the tool, enter your nutritional goals or weight
loss goals, and use features within the app to plan your meals and monitor your
get nutritional information that helps you make smart choices while grocery
and fat. In fact, you can track your intake of 45 separate nutrients.
What makes this app stand apart is an elegant user interface that makes
entering your food intake fast and easy. This is important because people are
bound to abandon a food diary app when it becomes too troublesome to use.
This app also lets you track your fitness regimen, and is compatible with fitness
4
Food Intolerances
of foods, and will tell you whether a particular food is compatible with your
distinguish between Kraft’s macaroni and cheese and Annie’s brand macaroni
and cheese. We also noticed that the iOS version of the app is more feature
Nutrients
contains the nutritional info for a wide range of foods and a food journal which
makes tracking your food intake simple. One favorite feature is the ability to
reviewers have also complained that the nutritional browser lacks some foods,
5
Carbs Control
As its name suggest, Carbs Control is designed to help you monitor your
diets. You can track daily carb intake, as well as look at a meal-by-meal
breakdown. As you look up the carbs totals of the food you eat, a food diary is
created automatically.
CHAPTER III
Technical Background
In this chapter, the researchers will list down all different technologies
and framework used all throughout the development of this system and some
6
Visual Studio Code
Visual Studio Code is a source code editor that can be used with a
C++. Instead of a project system it allows users to open one or more directories,
which can then be saved in workspaces for future reuse. It’s our main source-
Sublime Text
software licenses. It’s our main source-code editor for our Web Application.
C. Ionic Framework
high-quality mobile and desktop apps using web technologies — HTML, CSS,
and JavaScript — with integrations for popular frameworks like Angular and
React. ... Learn to easily customize and modify your Ionic app's visual design
to fit your brand. Ionic helps us make the structure and layout of our mobile
application.
7
D. Programming Languages
make all the computer programs and computer software. ... Usually, the
programming language uses real words for some of the commands, so that the
language is easier for a human to read. Listed below are the programming
HTML5
that describes web pages. It's actually three kinds of code: HTML, which
provides the structure; Cascading Style Sheets (CSS), which take care of
the overall page and show things on the part of the page that you wanted it to
show.
including colors, layout, and fonts. It allows one to adapt the presentation to
different types of devices, such as large screens, small screens, or printers. CSS
language. It is used to make the Frontend for the users and have a great UI/UX.
8
JavaScript
languages, such as PHP and ASP, JavaScript code can be inserted anywhere
within the HTML of a webpage. It is used to make functions and hard complex
programs to make the web application functional and let user do what they want
with ease.
jQuery
functionality to their websites. It is open source and provided for free under the
MIT license. ... jQuery can also work with Ajax code and scripting languages,
such as PHP and ASP to access data from a database. It is used to make
AJAX
technique for creating better, faster, and more interactive web applications with
the help of XML, HTML, CSS, and Java Script. A user can continue to use the
application while the client program requests information from the server in the
9
JSON
transporting data and often used when data is sent from a server to a web page
to make the fetched data from the back end easy to read.
PHP
create the APIs connecting to the MySQL database is a server side scripting
applications. PHP stands for Hypertext Preprocessor, that earlier stood for
Personal Home Pages. PHP scripts can only be interpreted on a server that
Angular
10
Typescript
development tools for JavaScript IDEs and practices, like static checking.
intermediary that allows two applications to talk to each other. In other words,
an API is the messenger that delivers your request to the provider that you're
11
B. LOCAL NETWORK AND DATABASE MANAGEMENT
XAMPP
use of XAMPP is to test the clients or your website before uploading it to the
remote web server. This XAMPP server software gives you the suitable
environment for testing MYSQL, PHP, Apache and Perl projects on the local
computer.
CHAPTER IV
implement the system in the form of web and mobile application will be
discussed. This includes diagrams, designs, and tables that are intended to aid
12
Knowledge Requirements
laptops browsers which can also be accessed by any mobile devices with
browser support. It is designed responsive and able to adjust varying with the
screen size of the device used. Although it is not yet a hosted application so
the user as of now can have a user manual to how install and use the
Accessing the system both in web and mobile application requires a little
application also has tutorial screenshots for new users so that they will be
informed on how to operate the said application. Overall, users don’t need any
requirements below.
A. Hardware Requirements
Computer
13
Smartphone
They work as a computer but are mobile devices small enough to fit in a user's
hand. Uses include: Sending and receiving emails, text, photographs and
multimedia messages. This will be used for testing the mobile version of our
application.
MOBILE ANDROID
ITEM DESCRIPTION/FUNCTION
COMPUTERS
similar device.
14
NAME SPECIFICATIONS
Conceptual Model
15
INPUT PROCESS OUTPUT
16
System Architecture
Smartphones
Database
Computers
Entity-Relationship Diagram
17
Flowchart
Figure 5: Flowchart
18
Gantt Chart
This shows the schedule of activities done by our team to create Strict
Foods. We planned with our adviser the things we must need to do first last
January in this year 2020, Afterwards we start to research and learn about the
things we must know in creating this system. Then it was presented in date
given by the class adviser thru a 10minute pitch, From March to April we started
through a video. While still in April we also started to debug and test the
application while still improving and developing it. We also started the
documentation for the final requirements to lessen the work load later on. At
last it’s May and the application are all settled and implemented.
19
Data Flow Diagram
system and how it is processed, the proponents also created a Data Flow
Diagram. Data flow diagrams are much more complex representations of data
In this section, the user interface of the mobile and web application will be
20
MOBILE APPLICATION INTERFACE
Splash Screen where this is the first Splash Screen 2 when they slide
one the user can see when they and when they clicked Get Started
Page
21
Screen No.3
account.
32
Screen No.4
Screen No.5
33
Screen No.6
34
Screen No.7
35
Screen No.8
logout.
36
Screen No.9
/Modal
Screen No.10
Page/ Modal
37
Screen No.11
them.
38
39
Screen No. 1
40
Screen No. 2
41
Screen No.3
make an account.
42
Screen No.4
check here.
43
Screen No.5
Screen No.6
them.
44
Screen No.7
logout.
45
Screen No.8
Page/ Modal
46
Screen No.9
/Modal
47
Screen No.10
Screen No.11
Premium Users.
48
Web Application Admin Interface
49
Screen No.1
50
Screen No.2
Page
51
Screen No.3
Page
Screen No.4
Exercise Page
workouts.
52
Screen No.5
users.
53
List of Tables Used in Database
54
Figure 10. Plans Table Structure
55
Figure 12. Foods Table Structure
56
DATABASE NAME: strictfoods
USERINFO TABLE
57
PLAN TABLE
FOOD TABLE
58
fd_type Food Type VARCHAR 25
EXERCISE TABLE
HISTORY TABLE
59
4.4 Development and Testing
development cycle.
Meet
specific place and time brainstorming sharing ideas on how we’re going to make
the application.
Plan
The planning phase is when the project plans are documented, the
project deliverables and requirements are defined, and the project schedule is
created. It involves creating a set of plans to help guide your team through the
60
Design
with the requirement document delivered by the requirement phase and maps
requirements.
Develop
Test
The Testing phase does not guarantee a 100% working, and stable
system. This is where you focus your investigation and discovery. During
the testing phase, developers find out whether their code and programming
work according to customer requirements. And while it's not possible to solve
all the failures you might find during the testing phase, it is possible to use the
results from this phase to reduce the number of errors within the software
program.
61
Evaluate and Implementation
good or not, also if we meet the goal of the application or not this is where the
revisions and changes shall be put into. The prototype includes the initial
designs that the proponents deemed necessary at first before being revised
into a more generally accepted design that reflects an e-commerce theme for
both in web and mobile application. The prototype was also subjected to
changes in logical processes in the back-end category to improve and meet its
revisions goals.
After the approval of all the revisions, implementation phase will be the next
step. The developer aims to implement the application manually in the reason
that we don’t have the web hosting provider yet we aim to implement it manually
where we let other people explore and use it and see what it can do for them.
62
4.7 Implementation Results
With all the studies being considered, the proponent therefore concludes
ABC algorithm will help users with their diet routines and strategies. Also for the
target users of the application which are the students, workers or people at
home will be having more ideas about how can they diet healthily.
The developer would like to add the following features to the application
results
63
CHAPTER V
REFERENCES/BIBLIOGRAPHY
https://www.webmd.com/diet/default.htm
https://mymemory.translated.net/en/Tagalog/English
https://www.thesaurus.com/browse/healthy
https://en.wikipedia.org/wiki/Diet_(nutrition)
http://www.nutritionaustralia.org/sites/default/files/Diet%20and%20nutrit
ion%20chapter%20from%20Apprentices%20-
%20young%20people%20in%20transition.pdf
https://exerciseright.com.au/exercise-on-a-budget/
https://business.inquirer.net/223197/filipinos-lack-exercise
https://med.stanford.edu/news/all-news/2013/04/change-diet-exercise-
habits-at-same-time-for-best-results-study-says.html
https://www.healthline.com/health/5-benefits-healthy-habits
https://en.wikipedia.org/wiki/Integrated_development_environment
https://simple.wikipedia.org/wiki/Smartphone
https://www.techopedia.com/definition/4607/computer
https://en.wikipedia.org/wiki/Visual_Studio_Code
https://en.wikipedia.org/wiki/Sublime_Text
https://ionicframework.com/docs
https://simple.wikipedia.org/wiki/Programming_language
https://www.techradar.com/uk/news/internet/web/html5-what-is-it-
1047393
https://www.w3.org/standards/webdesign/htmlcss
64
https://techterms.com/definition/javascript
https://techterms.com/definition/jquery
https://www.tutorialspoint.com/ajax/what_is_ajax.htm
https://developers.squarespace.com/what-is-json
https://www.guru99.com/what-is-php-first-php-program.html
https://docs.angularjs.org/guide/introduction
https://www.tutorialspoint.com/typescript/typescript_overview.htm
https://blogs.mulesoft.com/biz/tech-ramblings-biz/what-are-apis-how-do-
apis-work
https://www.tutorialspoint.com/sdlc/sdlc_agile_model.htm
https://www.google.com/url?sa=i&url=https%3A%2F%2Fproject-
management.com%2F10-key-principles-of-agile-software-
development%2F&psig=AOvVaw0Y6mYFWSNWrSU_rWfm5Zhj&ust=158
7302698533000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCOCd7M
KQ8ugCFQAAAAAdAAAAABAD
https://en.wikipedia.org/wiki/Android_version_history
https://en.wikipedia.org/wiki/Data-flow_diagram
https://www.webopedia.com/TERM/E/entity_relationship_diagram.html
65
APPENDICES
DOCUMENTS
3. Are you doing some exercise? When is the last time you did it?
5. If we are going to make an app that will monitor your health and
3. Are you doing some exercise? When is the last time you did it?
- Yes, I am normal.
5. If we are going to make an app that will monitor your health and
3. Are you doing some exercise? When is the last time you did it?
- Yes, the last time I checked my weight i was underweight but now I
think I gain.
5. If we are going to make an app that will monitor your health and
- Absolutely yes. Because it’ll monitor my health and fitness. I would love
- Yes, I eat normally and on time, but there is some days I don't eat on
3. Are you doing some exercise? When is the last time you did it?
- I'm not aware of that because I don't know how to calculate it.
5. If we are going to make an app that will monitor your health and
- Definitely yes, that would be a great help to the people and also to an
that will help the people to calculate their own weight without hassle they
will just open the app and do the calculation to their phones, it is really
helpful if you will create an app like that not only me will get the benefits
of it.
3. Are you doing some exercise? When is the last time you did it?
4. Are you aware of your health status if your ( ex. obese, overweight,
5. If we are going to make an app that will monitor your health and
- Yes, I will try to use your app so that I can see and observe my health
and fitness.
- Hindi, madalas busy sa mga Gawain saka wala ng time masyado agad
para kumain.
3. Are you doing some exercise? When is the last time you did it?
4. Are you aware of your health status if your ( ex. obese, overweight,
- Yes, dahil mukhang maganda if may mag guguide saken once na mag
projects undone and I have this mindset that I will not going to eat if I
3. Are you doing some exercise? When is the last time you did it?
- I am not aware on what is my current weight right now. But since this
past few days, I have less hours of sleep doing projects at school, I
5. If we are going to make an app that will monitor your health and
issues and fitness that a lot of people need, more specifically to the
The Validation Board is a tool to help you validate the parts of your vision.
There is room for the Customer Segment, Problem and Solution, but mostly
so you can easily iterate on them. After creating an initial customer segment
and problem you define a couple of assumptions and mark those that are
really risky.
Business Model Canvas is a strategic management and lean startup template
Mobile Application Interface (Plans page where they can use plans)
Mobile Application Interface (Create Plans for premium users)
Web Application Interface (Register Page)
USER MANUAL
In this section we are trying to give an quick insight on how to use
the application both for web and mobile and as for our application it needs a lot
____________________________________________________________________________________________
STRICTFOODS
User Manual
Developed by:
Daryl John Tadeo
Paolo Miranda, Mark Jericho Fabro
Introduction
This manual will guide you how to install necessary files and assets need to run
and use Strict Foods at your own computer please follow it strictly and use Strict Foods
by Team !Dev.
Needs
- Google Chrome
- XAMPP
- Ionic
- Angular
- Node JS
- Internet Connection (for downloading purposes! only optional once installed)
Step 1: Download all the necessary files to avoid errors or bugs make sure also to
download the same bit as your operating system example if you’re using 64 bit
windows then download 64 Installers for the necessary files.
Google Chrome
- DOWNLOAD LINK: https://www.google.com/chrome/
XAMPP
- DOWNLOAD LINK: https://www.apachefriends.org/download.html
IONIC
- DOWNLOAD INSTRUCTIONS:
https://ionicframework.com/docs/v3/cli/package/download/
ANGULAR
- DOWNLOAD INSTRUCTIONS: https://angular.io/guide/setup-local
Node JS
- DOWNLOAD LINK: https://nodejs.org/en/
MySQL
- DOWNLOAD LINK: https://dev.mysql.com/downloads/installer/
Step 2: Once all the necessary files is installed import the strictfoods.sql located
inside strictfoods-front folder to MySQL database you just installed.
How to import it?
- Search XAMPP Control Panel in search bar in your computer and Start both
Apache and MySQL module it should looked like this after started
- And the Apache dashboard will show in your browser now click phpMyAdmin
in header
- Once redirected in the phpMyAdmin click IMPORT in the navigation menu at the
top
- When it’s loaded click Choose File under the File to import header
- The popup window will appear and search the strictfoods.sql file and select it
and click Open
Step 3: Now you imported the database you can now copy the strictfoods-front
folder to htdocs it is found in your XAMPP folder directory the default folder location
is C:\xampp\htdocs after copying you can now access Strict Foods.
Step 5: Now you can explore the application all you want but first you must create
an account by clicking the Get Started.
Step 6: After creating account you can login and see your quick summary and
health status in your dashboard the BMI Calculator or Health Check part is where
you can calculate your new BMI after a week or so in dieting or working out to check
if your health status or BMI is normal, The convertion part is where you can convert
your height in foot to cm for you to calculate your BMI it will refreshed the page and
displays your new BMI.
Step 7: Now go to plans page and you can see all the suggested plans there and you
can also select which one to use that can be your current plan.
Step 8: Now browse over the profile page and you can see your information and
you can also edit your information or change password there.
Step 9: After browsing the pages there is the history page that must be blank if you
saw but once you use the BMI calculator it will filled up by your recent weight and
height records as shown here there is one when we try to use the BMI calculator
earlier.
Step 10: You can become a premium user too by clicking the Go premium button
and pay through Paypal. After being premium you must log out and login again and
the new function which is Plan maker will be enabled you can your own personalized
plans in plan maker and you can browse it in plans too. Otherwise you can still stay
free and use that application as it is.
Step 11: After browsing you can now follow the plans you use and continue working
out at home and dieting, It is also recommended to check your BMI every 2 or 3 weeks
to check your progress.
Step 12: Log out and check Strict Foods whenever you need it keep in mind that
always Start the Apache and MySQL first before accessing the application it will not
open once you restarted your computer without starting the Apache and MySQL in
XAMPP Control Panel.
Guide for Installing and Using the
Strict Foods Mobile Application
NOTE: For the first Three steps check the pictures above for more
detailed instructions Functions works the same for the web application
Step 1: Download all the necessary files to avoid errors or bugs make sure also to
download the same bit as your operating system example if you’re using 64 bit
windows then download 64 Installers for the necessary files.
Google Chrome
- DOWNLOAD LINK: https://www.google.com/chrome/
XAMPP
- DOWNLOAD LINK: https://www.apachefriends.org/download.html
IONIC
- DOWNLOAD INSTRUCTIONS:
https://ionicframework.com/docs/v3/cli/package/download/
ANGULAR
- DOWNLOAD INSTRUCTIONS: https://angular.io/guide/setup-local
Node JS
- DOWNLOAD LINK: https://nodejs.org/en/
MySQL
- DOWNLOAD LINK: https://dev.mysql.com/downloads/installer/
Step 2: Once all the necessary files is installed import the strictfoods.sql located
inside strictfoods-front folder to MySQL database you just installed.
How to import it?
- Search XAMPP Control Panel in search bar in your computer and Start both
Apache and MySQL module
- Once started go to Google Chrome and type localhost/dashboard
- And the Apache dashboard will show in your browser now click phpMyAdmin
in header
- Once redirected in the phpMyAdmin click IMPORT in the navigation menu at the
top
- When it’s loaded click Choose File under the File to import header
- The popup window will appear and search the strictfoods.sql file and select it
and click Open
- Once done you can now close that window.
Step 3: Now you imported the database you can now copy the Mobile folder to
htdocs it is found in your XAMPP folder directory the default folder location is
C:\xampp\htdocs.
Step 4: After copying access the Mobile folder and then strict-foods then
StrictFOODS and you will see the main file folder.
Step 5: when the application opens you can see that you will be redirected in
localhost:8100 as default address and you can see the Strict Foods Splash screen it
might open as web view but to use in mobile view you can click f12 and click the
Mobile view button it looks like this the one in blue highlight.
Step 6: After going in the mobile view you can now use the app so first thing is to
slide thru first and click Get Started to create an account or login to login your
existing account.
Step 7: After creating account or logging in you can see your quick summary and
health status in your dashboard the BMI Calculator or Health Check part is where
you can calculate your new BMI after a week or so in dieting or working out to check
if your health status or BMI is normal, The convertion part is where you can convert
your height in foot to cm for you to calculate your BMI.
Step 8: Now go to plans page and you can see all the suggested plans there and you
can also select which one to use that can be your current plan.
Step 9: Now browse over the profile page and you can see your information and you
can also edit your information or change password there.
Step 10: After browsing the pages there is the history page that must be blank if you
saw but once you use the BMI calculator it will filled up by your recent weight and
height records so this one has one the history we recorded earlier.
Step 11: You can become a premium user too but you need to go and login your
account in our web application by clicking the Go premium button and pay through
Paypal. After being premium you must log out and login again and the new function
which is Plan maker will be enabled you can your own personalized plans in plan maker
and you can browse it in plans too. Otherwise you can still stay free and use that
application as it is.
Step 12: After browsing you can now follow the plans you use and continue working
out at home and dieting, It is also recommended to check your BMI every 2 or 3 weeks
to check your progress.
Step 13: Log out and check Strict Foods whenever you need it keep in mind that
always Start the Apache and MySQL first before accessing the application it will not
open once you restarted your computer without starting the Apache and MySQL in
XAMPP Control Panel.
PROCESS/ DATA/ INFORMATION FLOW
The following data flow diagram brings a graphical representation of how data
home or people’s that wants to diet but didn’t know how to do it and Strict Foods
will give them ways and strategies on how to diet. The user will send information
by registering and once it done he/she will login to the application by logging in
he can see his dashboard and see some quick summary of his health status.
The user will do health checks and his/her recent weight and height will be
stored on his history and his current data will be updated to a new one. User
can also check his history and view his profile and even create personal plans
if his/her is premium user. Meanwhile on the administrator side the
administrator after logging in can delete other admins and add/ delete foods
sets by adding food sets the plan creator will expand and will have new foods
sets choices. Administrators after adding / deleting some food sets he can also
add new exercise and or delete one this exercise can also expand the choices
in creating plan. Lastly administrators can create plans for its users.
created a conceptual model. Following the design of this model shall aid in
Hardware
Requirements
1. Android
Smartphones
2. Computer
task, the developers opt to create a Gantt chart to keep track on their process
shows the activities being conducted by the proponents from January to May.
Gantt Chart of the application
and the system’s response in collaboration with it, the developers created a
flowchart to virtually assess the logic between transactions and user inputs