Inspiration
Watching my family friend go through physical therapy opened my eyes to the importance of tracking progress every day. I saw how monitoring small changes made a huge difference in their recovery. This inspired me to create an app that helps others track their daily calorie intake and deficit, empowering them to reach their health goals with ease.
What it does
The app leverages the Gemini API to estimate the calories in your meals by analyzing food descriptions or images you input. Once your calorie intake is logged, the app calculates your calorie deficit by comparing it with the calories you burn each day, which is tracked through manual input. Using Chart.js, the app visualizes your progress over time, showing trends in your intake, expenditure, and overall deficit. All this data is securely stored in an SQLite database, ensuring easy access to your history and helping you stay on track toward your fitness goals.
How we built it
The app uses HTML, CSS, and JavaScript for the front-end, with Python and Flask for back-end logic. It integrates the Gemini API to estimate meal calories, Chart.js for progress visuals, and SQLite for secure data storage.
Challenges we ran into
I initially planned to use MongoDB for the database, but after running into a widespread IP connection issue that was affecting users, I had to pivot fast. So, I dove into SQLite on the fly and learned it on the spot to keep the project rolling.
Accomplishments that we're proud of
One of the accomplishments I'm most proud of is successfully integrating the Gemini API, which accurately estimates meal calories and makes the app truly dynamic. I’m also really proud of how I was able to design and implement a sleek front-end, giving users a smooth and intuitive experience while tracking their progress.
What we learned
I'm really proud of how I quickly picked up SQLite to overcome a roadblock and build a solid, efficient database solution. I also learned and applied front-end techniques to design a sleek, user-friendly interface, making the app both functional and visually appealing.
What's next for Flexify
I’m excited to add a goals system where users can set weekly calorie targets, helping them stay focused and motivated. Looking ahead, I plan to evolve the app to track calorie loss in real-time, offering more dynamic insights and further empowering users to meet their fitness goals as they progress throughout the day.
Log in or sign up for Devpost to join the conversation.