Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.48 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.48 KB

Food alert

Food alert is a hackathon project developed by Yi Hsiao, Robert Zhang, Andy Chien, and Angela Ho together at 2018 MedHacks. Devpost project is available at https://devpost.com/software/food-alert-20gn58.

Prerequisite

Server

  • Python 3

iOS app

Installation

git clone https://github.com/hsiaoyi0504/food_alert
cd food_alert

Flask server

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python build.py  # build the data that will be used by server

iOS app dependencies

cd app
pod install

Usage

Start the server

FLASK_APP=server/main.py flask run

Notes

Server side

  • Provide an api that can handle GET request from client in following format: url_root/food/<food_name>

Acknowledgement