Inspiration

Stony Brook University's dining hall serves a variety of food, and it is difficult to track what students eat daily and how it will impact their health. So building NutriCal will improve the Stony Brook community's health and fitness habits.

What it does

NutriCal collects data from Stony Brook's Nutrislice website where it displays the daily menu and its nutrient information. Users can input the types and amount of food they have eaten throughout the day. Then the data will be compared to the daily recommended intake according to the USDA recommendations. NutriCal will display whether the user has exceeded their daily intake based on their gender and age. Which leads to the goal of informing users to improve their dietary habits.

How we built it

The frontend was made using javascript, HTML, and CSS. The backend was made using the Java Spring framework. The data were extracted by using Python Selenium.

Challenges we ran into

We faced several problems. One of the problems was trying to create the backend with all of the different mappings and HTML requests. Another problem was we had a hard time parsing through the Nutrislice data with multiple lists.

Accomplishments that we're proud of

We were able to create a data extraction program to update the menu daily and creating a functional UI system HTML CSS and Javascript. Also, we were able to create databases using SQL and be able to parse the data.

What we learned

We learned how to use Git as a group.

What's next for NutriCal

We want to track the users' nutrient information for an elongated time period.

Share this project:

Updates