Inspiration

With this app, we hoped to bridge the gap between advanced nutritional knowledge and databases with mobile users. We hoped to provide people with easier access to nutrition educational information and optimal eating strategies without having to pay a premium for personalized diet and nutritional coaching.

What it does

The user enters in information- in our proof of concept, we only have strings for height, weight, age, and gender- and receives a personalized nutrition plan minimized for the amount of food needed per person to minimize food waste complete with Nutritional Information optimized for their data based on the USDA Food Database and using Modern Nutrition 10th edition textbook.

How we built it

We used react-native to build a mobile-based UI for this project and used c++ to create a backend which served as a parser and a solver to figure out the optimal diet plan. For backend, we used simplex algorithm to obtain the optimality that we were looking for.

Challenges we ran into

The main challenge that we faced was due to time constraint, plus since we had to use lots of pointers, we had a problem of segmentation fault which was taken care of eventually.

Accomplishments that I'm proud of

Firstly, it was my first ever hackathon project so completing and demoing in MLH was a huge deal. Plus, giving a shape to once raw idea was quite exceptional.

What's next for Nutri App

We hope to expand upon this project by adding in activity levels, dietary restrictions, and access to grocery/wholesale prices in order to get the most affordable prices. Currently, we also need to make sure that we can communicate from the back-end to the front-end without manually sending the resulting text files to one from the other.

Built With

  • c++-react-native-simplex
Share this project:

Updates