{"id":15866065,"url":"https://github.com/khabzox/bmicalc","last_synced_at":"2025-04-01T20:47:03.365Z","repository":{"id":249357687,"uuid":"831297735","full_name":"khabzox/BmiCalc","owner":"khabzox","description":"FastAPI project with static assets and BMI calculation endpoint, featuring a responsive HTML interface and server-side API.","archived":false,"fork":false,"pushed_at":"2024-12-16T00:56:49.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T13:39:51.781Z","etag":null,"topics":["api","bmi-calculator","fastapi","python"],"latest_commit_sha":null,"homepage":"https://bmi-calc-brown.vercel.app","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/khabzox.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":"2024-07-20T06:47:55.000Z","updated_at":"2024-12-16T00:56:53.000Z","dependencies_parsed_at":"2024-07-20T08:08:16.768Z","dependency_job_id":null,"html_url":"https://github.com/khabzox/BmiCalc","commit_stats":null,"previous_names":["khabzox/bmicalc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khabzox%2FBmiCalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khabzox%2FBmiCalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khabzox%2FBmiCalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khabzox%2FBmiCalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khabzox","download_url":"https://codeload.github.com/khabzox/BmiCalc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709923,"owners_count":20821298,"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":["api","bmi-calculator","fastapi","python"],"created_at":"2024-10-05T23:03:34.108Z","updated_at":"2025-04-01T20:47:03.345Z","avatar_url":"https://github.com/khabzox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BMI Calculator Web Application\n\nA FastAPI web application for calculating Body Mass Index (BMI). Features a responsive HTML interface with static assets for styling and functionality.\n\n## Features\n\n- **BMI Calculation**: Calculate your BMI based on weight (kg) and height (m).\n- **Responsive Design**: User-friendly interface with HTML, CSS, and JavaScript.\n- **Static Assets**: Includes CSS for styling, JavaScript for dynamic functionality, and SVG logo.\n\n## Getting Started\n\n### Prerequisites\n\n- [Python 3.8 or later](https://www.python.org/)\n- [pip](https://pip.pypa.io/en/stable/)\n\n### Installation\n\n1. **Clone the Repository**\n\n    ```sh\n    git clone https://github.com/khabzox/BmiCalc.git\n    cd BmiCalc\n    ```\n\n### Running the Application\n\n1. **Start the FastAPI Server**\n\n    ```sh\n    uvicorn main:app --reload\n    ```\n\n2. **Open Your Browser**\n\n    Navigate to `http://127.0.0.1:8000` to view the application.\n\n## Project Structure\n\n```markdown\npython-api/\n│\n├── BmiCalc.py # Module for BMI calculation logic\n├── main.py # FastAPI application entry point\n├── vercel.json # Vercel deployment configuration\n├── requirements.txt # Python dependencies\n└── templates/\n├── assets/\n│ ├── main.js # JavaScript for dynamic functionality\n│ ├── style.css # CSS for styling\n│ └── logo.svg # Logo image\n└── index.html # Main HTML file\n```\n\n## How to Use\n\n1. Enter your weight in kilograms and height in meters into the form on the main page.\n2. Submit the form to calculate your BMI.\n3. View the result along with a health category based on your BMI value.\n\n## How BMI is Interpreted\n\n- **Less than 18.5**: Underweight\n- **18.5 - 24.9**: Healthy weight\n- **25 - 29.9**: Overweight\n- **30 and above**: Obesity\n\n\u003e [!NOTE]\n\u003e BMI is a general guide. For a comprehensive health evaluation, consult with a healthcare professional.\n\n## Contributing\n\nFeel free to submit issues or pull requests to improve the project. Please follow the standard contribution guidelines and ensure that your changes are tested.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhabzox%2Fbmicalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhabzox%2Fbmicalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhabzox%2Fbmicalc/lists"}