Web Application Based on Artificial Intelligence for the Control of Healthy Habits in People with Unbalanced Diet in Lima

Authors

  • Julissa Karol Ponte-Isminio Universidad Peruana de Ciencias Aplicadas, Lima, Peru
  • Gerardo Josue Huerta-Macedo Universidad Peruana de Ciencias Aplicadas, Lima, Peru https://orcid.org/0009-0003-3752-3374
  • Pedro Castañeda Universidad Peruana de Ciencias Aplicadas, Lima, Peru https://orcid.org/0000-0003-1865-1293
  • Sandra Wong-Durand Universidad Peruana de Ciencias Aplicadas, Lima, Peru
  • David Mauricio Universidad Nacional Mayor de San Marcos, Lima, Peru https://orcid.org/0000-0001-9262-626X
  • Alejandra Oñate-Andino Escuela Superior Politécnica de Chimborazo, Riobamba, Ecuador

DOI:

https://doi.org/10.3991/ijoe.v21i12.55599

Keywords:

artificial intelligence, healthcare, web application, machine learning, weight control, food recommendation, exercise routine assistance

Abstract


This study presents the development of a web application designed to promote healthy habits using artificial intelligence, targeting people aged 18 to 50 years in Lima, Peru, who struggle with overweight or unbalanced diets. The application integrates personalized meal plans and exercise routines generated by machine learning algorithms based on users’ health data. The system architecture includes a frontend built with Flutter and a backend using Spring Boot and Java, communicating with a Flask API that processes data with Random Forest models. Data from national health surveys and Kaggle nutrition and exercise databases were used to train the models. The usability of the application was validated through user satisfaction surveys and predictive model performance metrics. The results indicate that the app effectively helps users manage their eating and physical activity habits, with the meals model achieving an accuracy of 92.38%, recall of 93.47%, F1 score of 91.19%, and AUC-ROC of 91.41%, and the exercise model achieving an accuracy of 78.09%, recall of 76.28%, F1 score of 88.23%, and AUC-ROC of 94.90%, thus contributing to healthier lifestyles.

Author Biographies

Julissa Karol Ponte-Isminio, Universidad Peruana de Ciencias Aplicadas, Lima, Peru

Julissa Karol Ponte-Isminio is a Software Engineering student at the Peruvian University of Applied Sciences in Lima, Peru (email: U201913771@upc.edu.pe). 

Gerardo Josue Huerta-Macedo, Universidad Peruana de Ciencias Aplicadas, Lima, Peru

Gerardo Josue Huerta-Macedo is a Software Engineering student at the Peruvian University of Applied Sciences in Lima, Peru (email: U201812031@upc.edu.pe). 

Pedro Castañeda, Universidad Peruana de Ciencias Aplicadas, Lima, Peru

Pedro Castañeda has a PhD in Systems Engineering - UNMSM, a master’s degree in management and information technology management - UNMSM and a master’s degree in business administration (MBA) - ESAN. He currently leads projects of electronic brokering, software development and process improvement, using agile and traditional methodologies. He has the following certifications: Project Management Professional (PMP), Scrum Certified Developer (CSD), IBM Certified Professional in Rational Unified Process, ORACLE Certifications. Teacher of Project Management Methodologies and Software Development in public and private universities. Areas of Interest: Software Productivity, Business Intelligence, Machine Learning, Software Engineering. (email: pcsipcas@upc.edu.pe, ORCID: https://orcid.org/0000-0003-1865-1293).

Sandra Wong-Durand, Universidad Peruana de Ciencias Aplicadas, Lima, Peru

Sandra Wong-Durand has a master's degree in Artificial Intelligence, a master's degree in Business Administration from ESAN with mention in Advanced Project Management, Systems Engineer from UNIFE, with specialization studies in Innovation and Leadership at the Escuela Superior de Administración y Dirección de Empresas (ESADE) - Spain, Process Improvement Management with CMMI at the Software Engineering Institute, Software Quality at UNIFE, Strategic Project Management at PM Certifica, SOA Architectures at IBM and Oracle. (email: pcsiswon@upc.edu.pe, ORCID: https://orcid.org/0000-0002-6154-2124).

David Mauricio, Universidad Nacional Mayor de San Marcos, Lima, Peru

David Mauricio has a PhD in Computer and Systems Engineering and a master’s degree in applied mathematics from the Federal University of Rio de Janeiro (Brazil). He has been a professor at the Universidad Estadual Norte Fluminense in Brazil (1994-1998), and since 1998 he is a full professor at the Universidad Nacional Mayor de San Marcos in Peru. Areas of interest: Mathematical Programming, Artificial Intelligence, Software Engineering, Entrepreneurship (email: dmauricios@unmsm.edu.pe, ORCID: https://orcid.org/0000-0001-9262-626X).

Alejandra Oñate-Andino, Escuela Superior Politécnica de Chimborazo, Riobamba, Ecuador

Alejandra Oñate-Andino She holds a degree in Computer Systems Engineering from Escuela Superior Politécnica de Chimborazo (Ecuador), a master’s in network Interconnectivity from Escuela Superior Politécnica de Chimborazo (Ecuador), and a PhD in Systems Engineering and Computer Science from Universidad Mayor de San Marcos (Peru). Currently she is the Coordinator of the Software Career at the Escuela Superior Politécnica de Chimborazo (Ecuador). In addition, she is a Research Professor, with more than 15 years of experience, leading teaching, research and management processes. She has directed and participated in several research and community outreach projects. Author of several scientific articles in Information Technology Governance, Business Intelligence, Information Technology Management, among others. (email: monate@espoch.edu.ec).

Downloads

Published

2025-10-10

How to Cite

Ponte-Isminio, J. K., Huerta-Macedo, G. J., Castañeda, P., Wong-Durand, S., Mauricio, D., & Oñate-Andino, A. (2025). Web Application Based on Artificial Intelligence for the Control of Healthy Habits in People with Unbalanced Diet in Lima. International Journal of Online and Biomedical Engineering (iJOE), 21(12), 121–141. https://doi.org/10.3991/ijoe.v21i12.55599

Issue

Section

Papers