About The Project
I'm always feeding my pet dog tasty human food. This is a big no-no if said food is toxic! Oh no! I created this simple web application in order to vet food ingredients(with an api query) given a barcode and compare it to a small database of known dog toxic ingredients , i.e. chocolate (Not the chocolate!...a personal favorite). Benjamin gets to live another day!
Table of contents
Built With
Frameworks & libraries used to create this project.
Getting Started
This is how you may run the web application locally , as a flask app. Alternatively, the direct heroku app link.
Web Application
The web application for this github repo can be found at:
Installation
Alternatively Here is an example of how to locally install and run the flask app:
- Change directories (optional):
(base)@Rogers-MacBook-Air % cd desktop
- Clone the repo:
(base)@Rogers-MacBook-Air desktop % git clone git@github.com:rogerfvieira/main.git
- Change directories to location of cloned repo:
(base)@Rogers-MacBook-Air desktop % cd main/src
- Run the virtual environment:
(base)@Rogers-Macbook-Air src % pipenv shell
- Change directories to inner folder containing app.py file:
(main)(base)@Rogers-Macbook-Air src% flask run
Credit
In order to obtain ingredients from the provided upc code I used https://www.upcitemdb.com/api/explorer#!/lookup/get_trial_lookup
License
Distributed under the MIT License. See LICENSE
for more information.
Contributors
Roger Vieira
Github: https://github.com/rogerfvieira