Food Wise is a user-friendly nutrition information app designed to help you make informed dietary choices. By entering the name of any food item, the app provides detailed information about calorie count, macro-nutritional content, and suggests exercises to burn off those calories. It also includes a bar chart to visualize macro-nutrient data.
- Calorie Information: Get the calorie count for any food item.
- Macro-Nutritional Data: Obtain detailed information on proteins, carbohydrates, and fats.
- Exercise Suggestions: Discover exercises and the time required to burn the calories from your food intake.
- Data Visualization: View macro-nutrient data in an easy-to-understand bar graph format.
- React.js: Frontend framework.
- Chart.js: Library for data visualization.
- Axios: HTTP client for API requests.
- Nutrition APIs:
Follow these steps to set up the project locally:
-
Clone the repository:
git clone https://github.com/yourusername/food-wise.git cd food-wise
-
Install the dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
to view the app.
- Search for Food: Enter the name of a food item in the search bar.
- View Nutrition Info: Check the displayed calorie count and macro-nutrient information.
- Exercise Suggestions: Review the recommended exercises and the time required to burn the calories.
- Visualize Data: Observe the bar graph representing the macro-nutritional data.
Food Wise utilizes the following APIs for nutrition information:
- Ninja API: Used for retrieving food item details and nutritional information.
- Rapid API: Provides additional nutritional data and exercise suggestions.
For more information, refer to the respective documentation:
Contributions are welcome! Follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-name
- Open a pull request.
Food Wise is developed and maintained by Nitin Rajvanshi. For any queries or suggestions, feel free to contact me.