Skip to content

A cross-platform mobile app and UI with React Native that allows clients to easily create their allergy profile and get food allergies and FDA recall notification.

Notifications You must be signed in to change notification settings

hchen98/CSCI380_Nutrifetch

 
 

Repository files navigation

CSCI 380 - Project: Nutrifetch

Instructor: Prof. Akhtar

Contributors: Michael Trzaskoma, Gregory Salvesen, Zakaria Khan, and Hui (Henry) Chen


Demo


Get start

  • install the required libraries
npm install
  • Create a Google API: here
  • Sign up firebase: here
  • Note:
    a. Use your own API key. Never share with anyone else.
    b. Use host.exp.exponent as the “Package name”(Android) or "Bundle ID"(IOS) in the Google Cloud Console, otherwise you will face Error 400: redirect_uri_mismatch.
    c. Use openssl rand -base64 32 | openssl sha1 -c to generate openssl key
    d. Place "google-services.json" under android directory
  • Clear the Metro's cache: yarn start --reset-cache
  • AWS EC2 - SSH method: here

Run the app

Backend

# install dependency
pip3 install -r requirements.txt

# add flask app to the environment variable/ path
export FLASK_APP=flask_app.py

# run the flask with port 8080 publically
flask run --host=0.0.0.0 --port=8080

# activate environement for debugging
source csci426/bin/activate

React Native

cd <directory of your project>
npm install
npm start
# or 
npm run android
# or 
expo start

About

A cross-platform mobile app and UI with React Native that allows clients to easily create their allergy profile and get food allergies and FDA recall notification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.2%
  • Python 15.1%
  • Java 8.5%
  • Objective-C 3.9%
  • Starlark 1.7%
  • Ruby 0.6%