{"id":27976392,"url":"https://github.com/shash309/nutrinion","last_synced_at":"2026-05-07T18:34:39.978Z","repository":{"id":291791911,"uuid":"978492934","full_name":"Shash309/NutriNion","owner":"Shash309","description":"A Django-based food tracking application that helps users monitor their nutritional intake and maintain a healthy diet.","archived":false,"fork":false,"pushed_at":"2025-05-06T14:42:37.000Z","size":20931,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T15:48:43.916Z","etag":null,"topics":["django","flask","html-css","sql"],"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/Shash309.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,"zenodo":null}},"created_at":"2025-05-06T04:29:28.000Z","updated_at":"2025-05-06T14:42:51.000Z","dependencies_parsed_at":"2025-05-06T15:59:02.698Z","dependency_job_id":null,"html_url":"https://github.com/Shash309/NutriNion","commit_stats":null,"previous_names":["shash309/nutrinion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shash309%2FNutriNion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shash309%2FNutriNion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shash309%2FNutriNion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shash309%2FNutriNion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shash309","download_url":"https://codeload.github.com/Shash309/NutriNion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252980383,"owners_count":21835226,"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","flask","html-css","sql"],"created_at":"2025-05-08T01:26:11.194Z","updated_at":"2026-05-07T18:34:39.424Z","avatar_url":"https://github.com/Shash309.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NutriNion 🥗\n\nA Django-based food tracking application that helps users monitor their nutritional intake and maintain a healthy diet.\n\n## 🌟 Features\n\n- **Food Management**\n  - Add and categorize food items\n  - View comprehensive food database\n  - Track nutritional information\n\n- **Food Logging**\n  - Log daily food consumption\n  - Track calories, proteins, fats, and carbohydrates\n  - View detailed nutritional breakdown\n\n- **User Authentication**\n  - Secure registration and login\n  - Personalized food logs\n  - Protected user data\n\n- **Nutritional Information**\n  - Real-time data from Nutritionix API\n  - Detailed nutrient breakdown\n  - Daily nutritional tracking\n\n## 🛠️ Technical Stack\n\n- **Backend**: Django (Python)\n- **Database**: MySQL\n- **Frontend**: HTML, CSS, Bootstrap\n- **External API**: Nutritionix API\n- **Authentication**: Django's built-in auth system\n\n## 📋 Prerequisites\n\n- Python 3.x\n- MySQL\n- pip (Python package manager)\n- Git\n\n## 🚀 Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Shash309/nutrinion.git\n   cd nutrinion\n   ```\n\n2. Create and activate a virtual environment:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Set up the MySQL database:\n   ```sql\n   CREATE DATABASE nutrinion;\n   ```\n\n5. Configure environment variables:\n   - Create a `.env` file in the project root\n   - Add your Nutritionix API credentials:\n     ```\n     NUTRITIONIX_API_KEY=your_api_key\n     NUTRITIONIX_APP_ID=your_app_id\n     ```\n\n6. Run migrations:\n   ```bash\n   python manage.py migrate\n   ```\n\n7. Start the development server:\n   ```bash\n   python manage.py runserver\n   ```\n\n## 💻 Usage\n\n1. Register a new account or login\n2. Add food items to the database\n3. Log your daily food consumption\n4. Track your nutritional intake\n\n## 🔒 Security Features\n\n- Secure password handling\n- Protected routes\n- SQL injection prevention\n- XSS protection\n\n## 📊 Database Structure\n\nThe application uses several key models:\n- **User**: Django's built-in user model\n- **Food**: Stores food items and nutritional information\n- **FoodCategory**: Categorizes food items\n- **FoodLog**: Records user's food consumption\n\n## 🔄 API Integration\n\nThe application integrates with the Nutritionix API to fetch accurate nutritional information for food items. This integration is handled through a utility function that makes API calls and processes the response.\n\n## 🎯 Future Enhancements\n\n- Mobile application\n- Advanced analytics\n- Meal planning features\n- Social sharing capabilities\n- Barcode scanning for food items\n- Custom recipe creation\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 👥 Authors\n\n- Shashwat Sharma - Initial work\n\n## 🙏 Acknowledgments\n\n- Nutritionix API for providing nutritional data\n- Django community for the amazing framework\n- Bootstrap for the beautiful UI components\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshash309%2Fnutrinion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshash309%2Fnutrinion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshash309%2Fnutrinion/lists"}