Skip to content

danalzhang/Snack-Track

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snack Track

Snack Track Banner

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.

Features

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

Getting Started

Prerequisites

  • Node.js: Make sure you have Node.js installed on your machine. You can download it from here.

Installation

  1. Clone the repository: git clone https://github.com/ddavidhe/wea-food-project.git
  2. Navigate to the project directory: cd wea-food-project
  3. Install the dependencies: npm install

Usage

  1. Start the development server: npm start
  2. Open your preferred browser and visit http://localhost:3000 to access the Snack Track application.

Contributing

We welcome contributions to improve Snack Track! To contribute, follow these steps:

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

Please ensure that your pull request adheres to the established coding conventions and passes all tests.

Feedback and Support

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.8%
  • CSS 4.7%
  • HTML 2.5%