Inspiration: As individuals who are passionate about our everyday health and fitness, we were compelled to create something that not only help ourselves but other individuals with the common interests grounds as ourselves. For us, it was something as simple as an app that scans meals and help users log their macro-nutritional values. However, despite there being several apps currently out in the market that do that, we purposely brainstormed and made our app ready for future expansions and adjustments due to given limited timeframe of the project. At the end of the day, making a project for us, helps us learn new things we never utilized before, and help make even the smallest impact on our own everyday lives.

What it does: It either scans or takes an input of what the user's meal is and breaks it down into the macro-nutritional values and from there recommends following workouts to the users based off their meal values. Additionally, it has the feature, to help users meet their personalized goals they wish to attain and follow.

How we built it:

  • Frontend: Built using React and Tailwind CSS for a clean, responsive UI.
  • Backend: Node.js with Express handles logic, routes, and API integration.
  • Nutrition API: Used Nutritionix to break down food inputs.
  • Workout Generation utilizing Gemini API: Algorithm matches nutrient intake to workouts (HIIT, strength, yoga, etc.).
  • Vercel AI
  • Bolt AI (Stackblitz)
  • Copilot AI
  • ChatGPT (For some issues we needed clarification on)

Challenges we ran into:

  • Complex food entries
  • Trying implement other ideas such as pie charts for visual
  • MongoDB keeping track of daily streaks

Accomplishments that we're proud of:

  • Created a working meal-to-workout plan that entices users
  • Integrated nutrition data with workout logic — something most apps keep separate
  • Designed a modern and user-friendly frontend that makes food breakdown and workouts easily on the go
  • Thought ahead about future integrations, like genetic insights, video workouts, Mongo-DB to store users daily food habits, and keep a daily streak for a gamified app for the users

What we learned:

  • Cursor; Both of us team members had no idea how cursors functioned or worked, however by picking this track we were able to explore further into the coding realm and enhance our knowledge to better accommodate for future projects.

What's next for Grub2Gym:

  • Training our own model to delve deeper and macro-specific into user meals combinations
  • Genetic trained API that gives feasible workouts to our users (For ex. Individuals with bone deficiency cannot exercise utilizing heavy weights, therefore mild intensive based workouts would be a primary workout logistic for them)
  • Fasting and Intermittent Ideas: Both of us are religiously Muslims and we practice the month of Ramadan however get concerned about our muscle loss during this time period therefore want to solve this problem by finding a way to keep our gains and fitness alive during this time
  • Video GIFs of workouts to help users visualize workouts (Easiest add, however ran out of time unfortunately)

Built With

Share this project:

Updates