Skip to content

dtru5/Health-Nutrient-Journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯— Food & Nutrient Journal

Overview

This project is an in-progress Python-based application designed to help users track their daily food intake and compare their nutrient consumption against recommended dietary guidelines. By leveraging the USDA FoodData Central API, the app retrieves nutritional data (calories, macronutrients, micronutrients) for both branded and foundation food items.

Users can log their meals into a daily journal, and over time, gain insights into their nutritional habits. ✨ Features

πŸ” Search for foods using public USDA databases

πŸ“Š View detailed nutrient breakdowns including calories, proteins, fats, carbs, and micronutrients

πŸ“† Log food entries with quantity, date, and time

πŸ‘€ User accounts to manage individual journals

πŸ“ˆ Compare daily intake with standard dietary recommendations (planned)

πŸ“‚ Project Structure

Code: main.py

Core Python script to:

Take user input for food search

Call the USDA API

Display search results and nutritional details

Prompt user to add the food item to their journal (database integration planned)

πŸ§ͺ Getting Started

Clone the repository

Install dependencies (if any in future)

Get your USDA API key from https://fdc.nal.usda.gov/api-key-signup.html

Run the main script:

python main.py

πŸ›  Future Enhancements

Integrate food logging directly into a database

User authentication and dashboard

Visual charts of nutrient trends

Nutrient intake recommendations and warnings

Exporting logs and summaries

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages