Skip to content

holly-agyei/nutritional_content_generator-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥦 Nutritional Insight App

A smart food nutrition web app that helps you understand what's on your plate.
Built with Flask + Edamam API | My first solo project | Hackathon-ready 🚀


🌟 What It Does

This app allows users to input any food name — from "banana" to "spinach" — and returns essential nutritional facts like calories, sugar, carbs, protein, fat, and more.

✨ It also shows:

  • ⚖️ Macronutrients breakdown
  • 🍽 Diet and health labels (like "Vegan", "Low-Fat")
  • ❌ Handles missing data cleanly

🎯 Motivation

I often found myself wondering about the nutritional value of foods I eat daily. But looking them up manually was slow and confusing.
So I thought — "Why not build my own nutrition analyzer?"
That sparked this project: a minimal, elegant app to decode your food.


🖼 Preview

Nutrition Insight App UI Preview


🧠 Features

  • 🔍 Simple food search form
  • 📊 Nutrient breakdown: Calories, Carbs, Sugar, Protein, Fat
  • ✅ Health + Diet labels (Vegan, Gluten-Free, Keto-friendly)
  • 💡 Smart fallback for unavailable nutrients
  • 💥 API error handling built-in
  • 🧠 Built with Flask & Edamam API

🔧 Tech Stack

Tech Purpose
🐍 Python (Flask) Backend + Server Routing
🎨 HTML / Jinja2 Frontend Rendering
🌐 Edamam API Real-time food data
💾 Flask-Session Store search results

🚀 How To Run Locally

git clone https://github.com/yourusername/nutrition-app.git
cd nutrition-app
pip install -r requirements.txt
python app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published