A Flask App that returns Futurama quotes
Clone the repo
git clone https://github.com/ephergent/futurama_quote_machine.git
Setup you virtualenv and activate it
virtualenv -p python3 venv
source venv/bin/activate
Install requirements
pip install -r requirements.txt
[Note: See an example .env file below]
source .env
Run Flask app
flask run
Enjoy a nice quote!
Create the DB and tables
python db_model.py
Populate the DB with quotes
python get_quotes.py
Basic CRUD routes setup in the API
# Basic Flask stuff
export FLASK_APP=run.py
export FLASK_CONFIG=development