AI Macro Tracker

Project Overview
Macro.ai is an AI-powered macro tracking web application that makes nutrition logging fast and intuitive. Built using the MERN stack, it allows users to log meals using natural language, scan barcodes for packaged foods, and get instant macro breakdowns (calories, protein, carbs, fat) through AI assistance. The app is designed to be responsive, fast, and web-based, catering to users who want a simplified nutrition tracking experience without manual data entry.
Problem Statement
Many people want to track their food intake, but current solutions require tedious manual entry, switching apps for barcode scanning, or estimating macros themselves.
Our Solution
Macro.ai solves this by using AI to interpret typed food descriptions, barcode scanning to autofill nutrition facts, and a single platform to log meals, track daily targets, and monitor nutritional progress.
Key Features
- Daily Macro Dashboard: Visual cards for calories and macros
- Natural Language Input: "1 egg, 2 slices of bread" → Auto macro breakdown
- Barcode Scanner: Scan and fetch nutrition info instantly
- AI Integration (Gemini API): Extract macros from text/images
- Exercise Logging: Log calories burned
- Macro Target Customization: Set and edit daily goals
- Scroll-Based Date Navigation: Review logs from previous days
- User Authentication: JWT-based, secure per-user logs