Smart Bites is a web application that allows users to access nutritional information for various food items. It helps users make healthier food choices by providing details such as calories, diet labels, health labels, and cautions associated with a specific food item.
Smart Bites is a nutritional information application powered by the Edamam API. It allows users to input a food item and retrieves its nutritional data from the API. The application is built using modern web technologies and follows a client-server architecture.
- Input a food item and fetch its nutritional data.
- Display nutritional information in a user-friendly and visually appealing manner.
- Supports a variety of diet labels and health labels for informed food choices.
- Provides cautions for specific food items based on user preferences.
- Built with responsive design to ensure a seamless experience on various devices.
- HTML5, CSS3 for the frontend user interface.
- JavaScript for client-side interactivity and API communication.
- Node.js for serverless functions (Netlify Lambda functions).
- Axios for making API requests.
- Netlify for hosting and deployment.
To run Smart Bites locally, follow these steps:
- Clone this repository to your local machine.
- Install the required dependencies using
npm install
. - Set up the environment variables for the Edamam API credentials (
EDAMAM_APP_ID
andEDAMAM_APP_KEY
) in your Netlify environment or locally.
- Access the live Smart Bites application here.
- Enter the name of a food item in the input field and click "Get Nutrition Data."
- The application will fetch the nutritional data for the provided food item and display it in a visually appealing format.
- Make healthier food choices based on the displayed information.
We welcome contributions to enhance Smart Bites. If you find a bug, have a feature request, or want to contribute improvements, feel free to open an issue or create a pull request.
- Fork this repository.
- Create a new branch with a descriptive name (
git checkout -b feature/my-awesome-feature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push the branch to your forked repository (
git push origin feature/my-awesome-feature
). - Create a pull request on the original repository.
This project is licensed under the ISC License.
We hope you find Smart Bites helpful for making healthier food choices! If you have any questions or need assistance, feel free to reach out.
Victor Ejiasi
[email protected]
www.polymorphicheroes.com