Macro AI

Overview
As a gym goer myself, nutrition tracking is needed for achieving your ideal fitness level, developing macro awareness, and aligning your diet with your training goals. By consistently monitoring protein, carbs, and fats from foods I consume using AI, you can ensure your body has the right goals whether it was weight loss, gaining muscle and weight. Macro AI will accept text input logging, barcode and image processing using OpenAI API.
Logging mixed meals or restaurant dishes is slow when every ingredient must be entered manually.
Switching between days to see what was eaten or burned often requires multiple clicks and loses context.
Setting accurate calorie and macro targets is confusing without formulas that factor body stats and goals.
No idea about the macro contents of what I eat.
Responsive MERN dashboard with scrollable date picker centralizes food, exercise, and remaining macros so daily context stays visible.
Gemini-powered text and image logging plus barcode scans capture mixed meals fast, auto-storing parsed macros in MongoDB.
Macro target wizard applies Mifflin-St Jeor math with protein 1 g/lb, fats 25% calories, carbs remainder, and flags unsafe sub-1000 kcal plans.
JWT auth keeps per-user, per-day logs synced across devices while editable food/exercise lists ensure accurate calorie subtraction and history.
MacroTrackAI delivers a responsive MERN experience with Gemini and barcode-powered logging, scrollable dates, editable food/exercise lists, and JWT-protected daily dashboards. It enforces BMR-based macro math (protein 1 g/lb, fats 25%, carbs remainder) to warn against unsafe calorie targets while syncing meals and workouts per user per day.





