{"id":30201442,"url":"https://github.com/sreeju7733/activelife","last_synced_at":"2025-08-13T10:05:21.893Z","repository":{"id":302144335,"uuid":"979095102","full_name":"Sreeju7733/ActiveLife","owner":"Sreeju7733","description":"A project that won a Hackathon","archived":false,"fork":false,"pushed_at":"2025-06-30T20:24:21.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T20:34:24.209Z","etag":null,"topics":["bootstrap-4","css","hackathon","html","js","php","sql"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sreeju7733.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07T01:48:46.000Z","updated_at":"2025-06-30T20:24:25.000Z","dependencies_parsed_at":"2025-06-30T20:36:32.511Z","dependency_job_id":"fef7117c-3b73-4082-933f-fce645b7ddfc","html_url":"https://github.com/Sreeju7733/ActiveLife","commit_stats":null,"previous_names":["sreeju7733/activelife"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sreeju7733/ActiveLife","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreeju7733%2FActiveLife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreeju7733%2FActiveLife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreeju7733%2FActiveLife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreeju7733%2FActiveLife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sreeju7733","download_url":"https://codeload.github.com/Sreeju7733/ActiveLife/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sreeju7733%2FActiveLife/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270220535,"owners_count":24547531,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bootstrap-4","css","hackathon","html","js","php","sql"],"created_at":"2025-08-13T10:03:12.931Z","updated_at":"2025-08-13T10:05:21.859Z","avatar_url":"https://github.com/Sreeju7733.png","language":"PHP","readme":"# Hackathon Project\n\nA comprehensive health tracking application that helps users log and monitor various health metrics such as food intake, exercise, sleep, water consumption, body metrics, blood metrics, mindfulness activities, and even menstrual cycles. The platform includes interactive dashboards, visualizations, and email reports to ensure users stay on top of their health.\n\n---\n\n## Installation Instructions\n\nFollow these steps to install and run the project locally:\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/Sreeju7733/hackathon.git\n   cd hackathon\n   ```\n\n2. **Install Dependencies**:\n   - Install PHP and MySQL on your machine.\n   - Install Composer for PHP package management.\n   - Run the following command to install required PHP libraries (like PHPMailer):\n     ```bash\n     composer install\n     ```\n\n3. **Set Up the Database**:\n   - Import the `db/schema.sql` file into your MySQL database to create the necessary tables.\n   - Update `db/conn.php` with your database credentials.\n\n4. **Set Up Email Configuration**:\n   - Update `send_mail.php` and `send_report.php` with your SMTP server settings and credentials.\n\n5. **Run the Project**:\n   - Start a local server (e.g., using XAMPP or PHP’s built-in server):\n     ```bash\n     php -S localhost:8000\n     ```\n   - Open your browser and navigate to `http://localhost:8000`.\n\n---\n\n## Usage Guide\n\n### Logging Health Metrics\n- **Food**: Log food items and their calories using `log_food.php`.\n- **Exercise**: Track your workouts and calories burned in `log_exercise.php`.\n- **Sleep**: Record sleep duration and quality in `log_sleep.php`.\n- **Water**: Log daily water intake in `log_water.php`.\n- **Mindfulness**: Log mindfulness activities like meditation in `log_mindfulness.php`.\n\n### Viewing Logs\n- Navigate to the respective `view_*_log.php` files to view detailed logs and visualizations for metrics like blood pressure, body metrics, and food consumption.\n\n### Email Reports\n- Use the `send_report.php` script to receive a detailed health report via email, including charts and insights.\n\n### Dashboard\n- The `index.php` file serves as the main dashboard, summarizing daily and weekly health metrics and trends.\n\n---\n\n## Screenshots\n\n### Dashboard\n![Dashboard Screenshot](https://github.com/user-attachments/assets/90f0590d-1e81-4ca7-a4ff-b7fa605d9f1e)\n\n---\n\n## Contributing Guidelines\n\nWe welcome contributions! Please follow these steps:\n\n1. **Fork the Repository**: Click the \"Fork\" button on GitHub.\n2. **Create a New Branch**:\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n3. **Make Changes**: Add your feature or fix a bug.\n4. **Run Tests**: Ensure your changes do not break existing functionality.\n5. **Submit a Pull Request**: Open a pull request with a clear description of your changes.\n\n### Code Style\n- Follow PSR-12 coding standards for PHP.\n- Use meaningful commit messages.\n\n---\n\n## Tech Stack\n\n- **Programming Language**: PHP, JavaScript\n- **Frontend**: Bootstrap, Chart.js, JQuery\n- **Database**: MySQL\n- **Email Service**: PHPMailer\n- **Server**: Apache or PHP Built-in Server\n\n---\n\n## Features\n\n1. **Comprehensive Health Tracking**:\n   - Log and track food, exercise, sleep, water, mindfulness, body metrics, and blood metrics.\n2. **Visualizations**:\n   - Beautiful charts using Chart.js for trends and insights.\n3. **Email Reports**:\n   - Receive daily/weekly health summaries via email.\n4. **User-Friendly Interface**:\n   - Simple and intuitive design powered by Bootstrap.\n5. **Secure Authentication**:\n   - Passwords are hashed for secure storage.\n6. **Notification System**:\n   - Daily notification system.\n\n---\n\n## License\nCopyright 2025 Sreeju S\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsreeju7733%2Factivelife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsreeju7733%2Factivelife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsreeju7733%2Factivelife/lists"}