Snack Track is a web application built using React that allows users to search for and access detailed nutritional information about various foods. With its user-friendly interface and comprehensive database, Snack Track empowers individuals to make informed dietary choices and maintain a healthy lifestyle.
This project was completed by a group of five individuals: Dylan Finlay, David He, Daniel Chenrui Zhang, Marcus Luong, and Varuni Gupta. It was completed as a one week assignment to test our web-development skills using react, and incorporating API's. A full project report can be found here.
- Search Functionality: Users can search for specific food items by name and obtain detailed nutrient information.
- Flexible Serving Size: Nutrient values adjust dynamically based on the serving size specified by the user.
- Categorized Food Buttons: Quick access to common food categories, such as fruits, vegetables, grains, dairy, and meat/alternatives.
- Detailed Food Pages: Individual food pages display the name, image, nutrient values, and serving size input for a specific food item. Nutrient values include calories, protein, fat, carbohydrates and fiber.
- Node.js: Make sure you have Node.js installed on your machine. You can download it from here.
- Clone the repository:
git clone https://github.com/ddavidhe/wea-food-project.git - Navigate to the project directory:
cd wea-food-project - Install the dependencies:
npm install
- Start the development server:
npm start - Open your preferred browser and visit
http://localhost:3000to access the Snack Track application.
We welcome contributions to improve Snack Track! To contribute, follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name. - Commit your changes:
git commit -m 'Add some feature'. - Push the branch:
git push origin feature/your-feature-name. - Submit a pull request.
Please ensure that your pull request adheres to the established coding conventions and passes all tests.
We appreciate any feedback you have on Snack Track. If you encounter any issues or have suggestions for improvement, please let us know!
For support or inquiries, you can reach out to the project maintainer by email.
