Skip to content

Diet tracking and calories reporting tool

Notifications You must be signed in to change notification settings

rgzpaul/diet-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meal Tracker

A simple web-based meal tracking application for monitoring daily food intake and macronutrients.

Features

  • Track daily meals with protein, carbs, and fat
  • Automatic calorie calculation
  • Add meals from a customizable meal database
  • Weekly report view
  • PWA support for mobile installation

Requirements

  • PHP 7.0 or higher
  • Web server (Apache, Nginx, etc.)

Installation

  1. Clone the repository
  2. Deploy to a PHP-enabled web server
  3. Ensure the data/ directory is writable

Usage

  • index.php - Main page to log daily meals
  • create.php - Manage your meal database
  • report.php - View weekly meal reports

Data Storage

Meal data is stored in JSON files in the data/ directory:

  • meals.json - Your saved meal templates
  • daily_meals.json - Daily meal log entries

About

Diet tracking and calories reporting tool

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •