export DATABASE_URL=your_db_url
to set env variablemodels.py
has three tables 'books', 'reviews' and 'users'python3 create.py
to create these tablespython3 import.py
to copy books info from .csv file to remote databaseimport_orm.py
implements db orm but is too slow so only present as reference
application.py
contains all the code for routing and api requests
- page contents are modularized with separate html files for convenience