2018 Harvard CS50 Final Project: Catherine Yeo and Hannah Cole
For individuals who have specific dietary restrictions, it is often difficult to find restaurants to go to that have available menu options that satisfy those restrictions. We created Safeplates to solve that problem.
Safeplates is a web app that gives local restaurant recommendations based on the dietary restrictions a user inputs. For example, if Alice can’t eat soy, the app would parse the menus of an inputted region's restaurants (of a specified radius) to determine which restaurants have the most soy-free options.
Note: Please ensure you have Python and all the associated libraries used in this webapp (detailed more in DESIGN.md) installed.
Clone this repository locally.
In Terminal, enter the directory to which this repository is cloned.
Then, enter the directory safeplates
.
In Terminal, type export FLASK_APP=app.py
.
In Terminal, type flask run
. You should see something like this:
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://80.0.0.1:5000/ (Press CTRL+C to quit)
Open the browser linked in the above Terminal message. In the example above, you would go to the URL http://80.0.0.1:5000/
.
Check all the dietary restrictions that apply to you.
Enter the location of where you would like to find restaurants. You could enter an address, city, or zip code.
Enter your preferred radius of how close the suggested restaurants are to your inputted location.
Submit the form!