{"id":20195260,"url":"https://github.com/amssdias/calorie_counter","last_synced_at":"2026-04-05T23:05:39.988Z","repository":{"id":39568435,"uuid":"451908923","full_name":"amssdias/calorie_counter","owner":"amssdias","description":"Website to track your daily calories (Currently developing this app)","archived":false,"fork":false,"pushed_at":"2024-07-20T11:30:38.000Z","size":24851,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T08:48:12.573Z","etag":null,"topics":["django","docker","docker-compose","fixtures","html","orm","python3","scss","signals","testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amssdias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-25T14:26:00.000Z","updated_at":"2022-06-24T18:11:07.000Z","dependencies_parsed_at":"2025-01-13T19:33:43.789Z","dependency_job_id":null,"html_url":"https://github.com/amssdias/calorie_counter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amssdias/calorie_counter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amssdias%2Fcalorie_counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amssdias%2Fcalorie_counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amssdias%2Fcalorie_counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amssdias%2Fcalorie_counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amssdias","download_url":"https://codeload.github.com/amssdias/calorie_counter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amssdias%2Fcalorie_counter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261255905,"owners_count":23131478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","docker","docker-compose","fixtures","html","orm","python3","scss","signals","testing"],"created_at":"2024-11-14T04:16:35.848Z","updated_at":"2025-12-30T22:27:37.108Z","avatar_url":"https://github.com/amssdias.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[python-download]: https://www.python.org/downloads/\n[django-link]: https://www.djangoproject.com/\n[docker-link]: https://docs.docker.com/get-docker/\n\n![Python Badge](https://img.shields.io/badge/Python-3.9-blue?logo=python)\n![Python Badge](https://img.shields.io/badge/Django-3.2.12-092E20?logo=django)\n![Workflow branch master](https://github.com/amssdias/calorie_counter/actions/workflows/testing.yml/badge.svg?branch=master)\n[![Docker](https://badgen.net/badge/icon/docker?icon=docker\u0026label)](https://https://docker.com/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n\n\u003ch1 align=center\u003eCalorie Counter\u003c/h1\u003e\n\n\nThe calorie counter app is a great way to keep track of all the calories you are burning every day. The user can add all the food they are eating, and the app will count the calories. We can further add a function for users to add their daily workout sessions, running and jogging to calculate how many calories they have burned.\n\nThis project was made before by me, but I decided to do a better version of it, with clean code and better functionality. You can check it here: [HealthGain](https://github.com/amssdias/healthgain).\n\n\n### Built with\n\n![Django Badge](https://img.shields.io/badge/-Django-092E20?style=for-the-badge\u0026labelColor=black\u0026logo=django\u0026logoColor=white)\n\n\n## :hammer: Getting started\n\n### Pre requisites\n\n- [Python][python-download] - 3.9 or up\n- [Django][django-link] - 3.2.12\n\n\n### Installation\n\n#### Clone the project\n\n```\ngit clone https://github.com/amssdias/calorie_counter\ncd calorie_counter\n```\n\n#### Configure settings (email)\n\nFill up the \"_**.env.example**_\" file, so users can receive activation links and to reset passwords. Rename it as well to \".env\".\n\n\n#### Install dependencies \u0026 activate virtualenv\n\n1. Pipenv ***(make sure you have [Python][python-download] installed)***:\n\n\t```python\n     pip install pipenv  # For Windows\n     brew install pipenv # For MacOs\n     sudo apt install pipenv # For Debian Buster+\n     sudo dnf install pipenv # For Fedora\n\n    ```\n    \n2. Install packages:\n\n\t```python\n    pipenv install # will create a virtual environment with all the modules needed\n    ```\n\n3. Activate virtualenv and apply migrations:\n\n\t```python\n    pipenv shell # To activate the virtual environment\n\n    python manage.py makemigrations\n    python manage.py migrate\n    ```\n\nIf any doubts, here's a link to some more explanations: [Pipenv](https://pipenv-fork.readthedocs.io/en/latest/basics.html)\n\n\n## :mag_right: Usage\n\n [![Docker](https://i.imgur.com/VyjCJuz.png)](https://www.docker.com/)\n\u003cbr\u003e\n\nInstall [Docker][docker-link] here.\n\nOnce installed, all you have to do is open your terminal on the project folder and run\n```\ndocker-compose up\n```\nThis will run the project with a PostGres database already prefilled with some data.\nPaste this link on your browser:\n**http://127.0.0.1:8000/accounts/login**\n\n\n### Without docker\n\nOn a terminal window:\n```python\npipenv shell\npython manage.py runserver\n```\n\nPaste this link on your browser:\n**http://127.0.0.1:8000/accounts/login**\n\n#### **If we want to use celery to run tasks asynchronously:**\n\nOn a new terminal window run:\n```python\npipenv shell\ncelery -A calourie_counter.celery worker -l info\ncelery -A calorie_counter.celery worker --pool=solo -l info # For windows\n```\n\n\n\n## Features\n\n- Create an account\n  - Send email to activate account async\n- Log in\n    - Via email and password\n    - Resend activation link async\n    - Reset password\n- Add foods\n- Register foods\n- Check details of registered foods (days, time, grams)\n- Delete foods\n- Check up table of nutrition value of the current day\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famssdias%2Fcalorie_counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famssdias%2Fcalorie_counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famssdias%2Fcalorie_counter/lists"}