A simple calorie counter app made using the Atri framework for Hacktoberfest'22
See the Demo in github pages
Note: there seems to be an incompatibility with conda installed in my system, the environment keeps activating itself when I issue pipenv shell and then it seems to cause errors:
(base)$ mkdir calcount3 && cd calcount3
(base)$ conda deactivate
$ pipenv install atri
$ pipenv shell
(calcount3)(base)$ conda deactivate
(calcount3)$ atri start
Sources:
- Nutritional data of selected foods from https://www.webmd.com/diet/healthtool-food-calorie-counter
- Estimated calories for the different nutrients from https://www.wikihow.com/Calculate-Food-Calories
- Target daily intake of calories and nutrients estimated freely using inputs from https://www.menshealth.com/nutrition/a19537348/how-much-fat-and-carbs-should-you-eat/ and https://www.healthline.com/nutrition/how-many-calories-per-day#calculator
Update the demo app after git commit and git push of new source code
Note: atri commands must run from source directory and inside the pipenv environment, so if neeced do:
$ cd calcount3
$ pipenv shell
(calcount3)(base)$ conda deactivate
(calcount3)calcount3$Then build and deploy with:
$ atri build ssg
$ GIT_USER=<username> atri deploy ssg --gh-pages