/ThePoetryPharmacy

Inspired by William Sieghart and his work entitled "The Poetry Pharmacy".

Primary LanguagePython

ThePoetryPharmacy

Inspired by William Sieghart and his work entitled "The Poetry Pharmacy".

Learning Objectives

This will be a learning exercise using Flask, SQLAlchemy, and general front-end and back-end design.

  • Make use of Object Relationship Manager to create the relationship between the python classes and the sqlite database table.
  • Make use of Flask to support the front end framework.
  • Make use of SQLAlchemy to manage database creation and migration.

Setup

  1. Create a virtual environment and activate it.
python3 -m venv pharm-venv
. thepoetrypharmacy_com/pharm-venv/bin/activate

1.1 Verifiy you are using the correct python using the command which python. It should have an output of:

.../ThePoetryPharmacy/thepoetrypharmacy_com/pharm-venv/bin/python
  1. Upgrade pip
pip install --upgrade pip setuptools
  1. Get the requirements
pip install -r requirements.txt
  1. Run the App
python app.py

Screenshots

Banner and Title Screen

Screen Shot 2022-03-19 at 9 40 28 PM

Meet the Doctors

Screen Shot 2022-03-19 at 9 41 01 PM

Footer

Screen Shot 2022-03-19 at 9 41 17 PM