Project Info

NutriSlug

Devpost

This project did not submit a demo video on Devpost.

Inspiration

Every member of our team has a story about struggling and working towards improving our overall physical well-being. When we decided it was time to pursue a better life through our health, we naturally had to consider our nutrition and food consumption habits. However, upon arriving at UCSC, we noticed a greater difficulty in maintaining a healthy diet. In addition to the inconsistent dining hall food, the web application displaying the available foods and their nutrition facts was incredibly difficult to navigate and use to track our calorie and macronutrient consumption. Hence, at this year's CruzHacks hackathon, we decided it was time to take matters into our own hands and build a better webpage. What It Does From the UCSC Dining Hall Menus website (https://nutrition.sa.ucsc.edu/), our web application obtains the available food from each dining hall and its nutrition information (calories, protein, carbohydrates, and fat) and generates possible meal options using AI and adjusts suggestions based on previously selected options and user information such as dietary restrictions. How We Built It We used a shared GitHub repository and a stack consisting of Python and React.js. We used Python for web-scraping and AI processing + generation and React.js for all front-end displays and processes. Challenges We Ran Into We found it difficult to handle the size of the web-scrape payload, choosing what to discard or add, and how to optimize its performance given the large amounts of data we were attempting to obtain on and the number of requests we had to send to the UCSC Menus' website. We also found it difficult to connect the back and front ends of our application since we were unfamiliar with fusing the languages that we knew. Accomplishments That We're Proud Of We are proud that we were able to develop a working web scraper with Python that would convert a day's worth of dining hall menus into a readable .json file that our AI could understand and process. We were also proud of the AI itself, seeing as it was made completely from scratch, giving us full customization and saving us resources on unnecessary processes. What We Learned We learned how to work with other team members who possessed a diverse and different set of experiences and knowledge. We also enhanced our ability and skills in machine learning and web development. What's Next for NutriSlug? We plan to continue developing our AI algorithm, enhancing the scale and optimizing the performance of the web application, and seeking out our first clients, possible investors, and prospective mentors.

Analysis

Compare with all teams

View

Metric

Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.

Technology

Found in codeClaimed only
  • CSSIn code
  • HTMLIn code
  • JavaScriptIn code
  • OpenAIIn code
  • PythonIn code
  • ReactIn code
  • Tailwind CSSIn code

7 of 7 appear in the indexed code.

AI coding agents

No AI coding agent signals were found in this repository.

Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.

Codebase size

Source size

124 KB

Source files

44

Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.

0 stars