-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Add new App Idea: Calorie Count App (Tier 2 - Intermediate) #1049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rajucreate
wants to merge
4
commits into
florinpop17:master
Choose a base branch
from
rajucreate:add-calorie-count-app
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
4e07d8c
Add Calorie Count App idea (Tier 2) - ingredient-based meal builder
rajucreate 0601308
Add documentation for Calorie Count App
rajucreate 659584c
Fix indentation in calorie_app_description function
rajucreate ad58219
Fix formatting in calorie_app_description function
rajucreate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| # App Idea: Calorie Count App | ||
|
|
||
| **Tier:** 2 - Intermediate | ||
|
|
||
| --- | ||
|
|
||
| ## Description | ||
|
|
||
| The **Calorie Count App** allows users to calculate the total **calorie count** and other nutritional values (like **protein** and **natural sugar**) of a custom meal by selecting ingredients and quantities. | ||
|
|
||
| For example, if a user creates a **pizza** with ingredients such as *dough, mayo, sauce, carrot, onions, cheese*, the app will display the total calorie, protein, and sugar count for the entire meal. | ||
|
|
||
| --- | ||
|
|
||
| ## Purpose of the Application | ||
|
|
||
| The purpose of this app is to help users: | ||
| - Track their calorie intake based on custom recipes or meals. | ||
| - Make healthier food choices by understanding nutritional breakdowns. | ||
| - Simplify fitness and diet tracking through ingredient-based analysis. | ||
|
|
||
| --- | ||
|
|
||
| ## Resources Needed | ||
|
|
||
| - **Food Nutrition Database/API** (e.g., Edamam Food Database API, Nutritionix API) | ||
| - **Frontend framework** (React / Vue / Flutter for mobile) | ||
| - **Backend service** (Node.js / Firebase / Django) | ||
| - Optional: **Authentication service** (Firebase Auth or Auth0) | ||
|
|
||
| --- | ||
|
|
||
| ## User Stories | ||
|
|
||
| - User can **input ingredients** manually or select them from a predefined list. | ||
| - User can **enter the quantity** (in grams, cups, or servings) for each ingredient. | ||
| - User can **view total calorie count** for the entire meal. | ||
| - User can **view macronutrient breakdown** (protein, fat, carbs, sugar). | ||
| - User can **save meals** for future reference. | ||
| - User can **edit or remove ingredients** from a meal before calculating. | ||
|
|
||
| --- | ||
|
|
||
| ## Bonus Features | ||
|
|
||
| - User can **scan barcodes** of packaged foods to automatically fetch nutrition data. | ||
| - User can **log daily meals** and track total calories per day. | ||
| - User can **set dietary goals** (e.g., calorie limit, protein target). | ||
| - User can **generate reports or insights** on weekly eating patterns. | ||
| - User can **share meals** with friends or nutrition coaches. | ||
|
|
||
| --- | ||
|
|
||
| ## Useful Links and Resources | ||
|
|
||
| - Edamam Food Database API Documentation | ||
| - Nutritionix API | ||
| - USDA FoodData Central | ||
| - React Documentation | ||
| - Firebase Documentation | ||
|
|
||
| --- | ||
|
|
||
| ## Example Projects | ||
|
|
||
| - Calorie Counter projects on GitHub (search term: "calorie counter app") | ||
| - MyFitnessPal — popular calorie and nutrition tracking app. | ||
|
|
||
| --- | ||
|
|
||
| **Note:** This idea is distinct from the existing *Calorie Counter (Tier 3 – Advanced)* project in the repo. | ||
| The existing idea focuses on transforming and searching a raw dataset (USDA MyPyramid) and optimizing large-dataset search. | ||
| This *Calorie Count App* focuses on **ingredient-level meal construction** and **real-time aggregated nutrition** (user-oriented, not a dataset transformation challenge). | ||
|
|
||
|
|
||
| """Module placeholder for Calorie Count App documentation. | ||
|
|
||
| This module exists to provide docstring coverage for the project | ||
| submission describing the Calorie Count App idea. | ||
| """ | ||
|
|
||
| def calorie_app_description(): | ||
| """Describe the purpose and functionality of the Calorie Count App.""" | ||
| return ( | ||
| "The Calorie Count App allows users to create meals from ingredients " | ||
| "and view total calories, proteins, and sugars. ) | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.