Skip to content

borAn77/macro-tracker-ios

Repository files navigation

🥗 Macro Tracker

A personal iOS app for tracking daily macros and calories, built with Expo and React Native. Scan your food with your camera and get instant nutritional breakdown powered by GPT-4o vision.

Macro Tracker Logo


📸 Screenshots

Dashboard     Goal Screen

Dashboard                        Goal Setting


✨ Features

  • 📷 AI Food Scanning — Point your camera at any food and get instant macro breakdown using GPT-4o vision
  • 📊 Daily Dashboard — Track calories, protein, carbs and fat in real time
  • 🎯 Goal Setting — Set your personal daily macro and calorie targets
  • 💾 Persistent Storage — Data saved locally with AsyncStorage, survives app restarts

🛠 Tech Stack

Layer Technology
Framework Expo / React Native
Language TypeScript
AI Vision OpenAI GPT-4o
Storage AsyncStorage
Navigation Expo Router

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • Expo CLI
  • iOS device or simulator
  • OpenAI API key

Installation

git clone https://github.com/borAn77/macro-tracker-ios.git
cd macro-tracker-ios
npm install

Environment Setup

Create a .env file in the root directory:

OPENAI_API_KEY=your_openai_api_key_here

Run on iOS

npx expo run:ios --device

📁 Project Structure

macro-tracker/
├── app/              # Expo Router screens
├── assets/           # Images and screenshots
├── components/       # Reusable UI components
└── .env              # API keys (not committed)

👤 Author

Boran Gedik@borAn77
2nd Year Computer Science Student @ Coventry University


📄 License

MIT

About

iOS macro & calorie tracking app built with Expo and React Native. AI-powered food scanning using GPT-4o vision.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors