Skip to content

A food tracker app that allows the user to scan barcodes and view the nutritional information. Please navigate through the read me, issues, and wiki to learn more.

Notifications You must be signed in to change notification settings

BostonUniversitySeniorDesign/EC463_SW-07_Mini_Project

Repository files navigation

EC463: SW Mini Project

Team: SW-07

Team Members:

Table of Contents:

Project Overview:

  • A cross-platform mobile application that allows the user to scan food items and check the nutritional information.
  • Complete signin, signup, and logout functionality.
  • Designed with REACT Native to offer a seamless transition from screen to screen.
  • Utilizes the FDA API which returns details on a particular food.

Project Architecture:

Project Architecture

How to Run: (Assuming that you have Node 12 LTS or greater installed)

  1. Install Expo CLI command line utility.

     npm install -g expo-cli
    
  2. Install the Expo Go App on your mobile device.

  3. Clone the responsitory using the following command in your terminal.

    git clone https://github.com/https://github.com/nancyzhe/EC463_SW-07_Mini_Project.git
    
  4. Switch into the project directory.

    cd EC463_SW-07_Mini_Project
    
  5. Install the necessary packages.

    npm install
    
  6. Start the project.

    expo start
    
  7. Using your phone's camera, scan the QR code provided.

  8. Sign-in with an existing account or sign-up if you do not have an account (password must be at least six characters).

  9. Start scanning!

Design Decisions:

  • Frontend: React Native Expo CLI
  • Backend: NodeJS
  • Sign-in/Sign-up Authentication: Firebase Console
  • Camera/Barcode Scanner: expo-barcode-scanner

Testing:

  1. Started with enabling barcode scanning functionality

  1. Then we discussed and tried to implement a double-button design on the pop-up alert

  1. At the same time, we implemented a better UI design by using Tab navigator

  1. We also uses nested Stack navigator inside tabs. At this time, we also implemented FDC API functionality

  1. While testing, we had an common error due to large amount of API calls

Final Designs:

Final Screen 1 Final Screen 2 Final Screen 3

About

A food tracker app that allows the user to scan barcodes and view the nutritional information. Please navigate through the read me, issues, and wiki to learn more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •