{"id":20589718,"url":"https://github.com/deangelisp/nutritionfacts","last_synced_at":"2026-05-29T08:31:28.692Z","repository":{"id":167812040,"uuid":"622156367","full_name":"deangelisp/nutritionfacts","owner":"deangelisp","description":"This project is a web application that allows users to search for nutrition facts","archived":false,"fork":false,"pushed_at":"2023-04-01T21:33:59.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T13:34:39.082Z","etag":null,"topics":["api-ninja","nutrition-api"],"latest_commit_sha":null,"homepage":"https://nutritionfacts.deangelispedro.com/","language":"JavaScript","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/deangelisp.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":"2023-04-01T09:38:05.000Z","updated_at":"2024-01-16T18:04:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"45b6ea59-eafb-4797-a134-42ad05c9a122","html_url":"https://github.com/deangelisp/nutritionfacts","commit_stats":null,"previous_names":["deangelisp/nutritionfacts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deangelisp/nutritionfacts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deangelisp%2Fnutritionfacts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deangelisp%2Fnutritionfacts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deangelisp%2Fnutritionfacts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deangelisp%2Fnutritionfacts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deangelisp","download_url":"https://codeload.github.com/deangelisp/nutritionfacts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deangelisp%2Fnutritionfacts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33644174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":["api-ninja","nutrition-api"],"created_at":"2024-11-16T07:31:02.931Z","updated_at":"2026-05-29T08:31:28.665Z","avatar_url":"https://github.com/deangelisp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nutrition Fact Searching App\n\nThis project is a web application that allows users to search for nutrition facts using the API provided by https://api-ninjas.com/api/nutrition. The application is built using ReactJS and Vite and utilizes TailwindCSS for styling. React Query is used for data fetching and caching, React Router is used for routing, and Axios is used for HTTP requests.\n\n## Installation\n\nTo run this project locally, follow these steps:\n\n1. Clone the repository to your local machine using the command: \n\n```bash\ngit clone https://github.com/deangelisp/nutritionfacts.git\n```\n\n\n2. Install dependencies using the command:\n\n```bash\nnpm install\n```\n\n3. Start the development server using the command:\n\n```bash\nnpm run dev\n```\n\n\n4. Navigate to `http://localhost:3000` in your web browser to view the application.\n\n## Configuration\n\nBefore running the application, you need to create a `.env` file in the root directory of the project and add the following line to it:\n\n```bash\nVITE_NINJAS_API_KEY=YOUR_API_KEY_HERE\n```\n\nReplace `YOUR_API_KEY_HERE` with your API key from https://api-ninjas.com. This step is necessary to authenticate your requests to the API.\n\n\n## Usage\n\nThe application allows users to search for nutrition facts by entering a food item name in the search bar. The application will display a list of matching items along with their nutrition facts. Users can click on an item to view more details about it.\n\n## Contributing\n\nContributions are welcome! If you would like to contribute to this project, please follow these steps:\n\n1. Fork the repository to your GitHub account.\n2. Create a new branch for your changes.\n3. Make your changes and commit them with descriptive commit messages.\n4. Push your changes to your forked repository.\n5. Create a pull request to merge your changes into the main repository.\n\n## License\n\nThis project is licensed under the MIT license. See the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeangelisp%2Fnutritionfacts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeangelisp%2Fnutritionfacts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeangelisp%2Fnutritionfacts/lists"}