/Intermediate-Fasting-Application

The Intermediate Fasting Tracker is a user-friendly application designed to help individuals monitor and manage their intermittent fasting routine. By providing an organized platform to track meals, fasting hours, and weight changes, users can easily stay on top of their intermittent fasting goals and make adjustments as needed.

Primary LanguagePython

Intermediate Fasting Application

This application helps users to keep track of their intermediate fasting by managing their meals, fasting hours, and weight. Users can add meals, update meals, update their weight, change fasting hours, and generate reports.

Application Diagram

main.py
Main Application
Loop & User Interface
Data Management
load_user_data
save_user_data
Meal Operations
add_meal
update_meal
delete_meal
User Operations
update_weight
change_fasting_hours
Goal Management
update_cups_of_water_goal
count_cups_of_water_today
Reporting
generate_report
calculate_next_meal_time

How to Run

  1. Ensure Python 3 is installed on your system.
  2. Download or clone the repository.
  3. Open a terminal or command prompt, navigate to the directory where the files are located.
  4. Run python main.py or python3 main.py depending on your system.
  5. Follow the on-screen prompts to use the application.

Features

  1. Add meal: Users can add meals with date and time.
  2. Update meal: Users can update the date and time of their previously added meals.
  3. Delete meal: Users can delete a previously added meal.
  4. Update weight: Users can input their current weight.
  5. Change fasting hours: Users can change their fasting hours.
  6. Update cups of water goal: Users can update their daily cups of water intake goal.
  7. Generate report: Users can generate a fasting report that includes meal history with dates, fasting hours, weight, and daily cups of water intake.
  8. Exit: Users can exit the application.

The application uses a JSON file (user_data.json) to store user information.