/FoodWise

A web app that provides nutritional information about any food you search, and it also provides exercising tips on the basis of the food.

Primary LanguageJavaScript

Food Wise

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.

Table of Contents

Features

  • 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.

Technologies Used

  • React.js: Frontend framework.
  • Chart.js: Library for data visualization.
  • Axios: HTTP client for API requests.
  • Nutrition APIs:

Installation

Follow these steps to set up the project locally:

  1. Clone the repository:

    git clone https://github.com/yourusername/food-wise.git
    cd food-wise
  2. Install the dependencies:

    npm install
  3. Start the development server:

    npm start
  4. Open your browser and navigate to http://localhost:3000 to view the app.

Usage

  • 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.

API References

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:

Contributing

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-name
  3. Make your changes and commit them:
    git commit -m 'Add some feature'
  4. Push to the branch:
    git push origin feature-name
  5. Open a pull request.

Food Wise is developed and maintained by Nitin Rajvanshi. For any queries or suggestions, feel free to contact me.