Database Backend For GameRental Application
Customer Database → GitHub Repo
Staff & Admin Database → GitHub Repo
- Customer → Win Yu Maung
- Staff → Soe Phone Pyae
- Admin → Thant Zin Min
-
Install the required packages using pip:
- Flask
- SQLAlchemy
Alternatively, you can run
setup
script to install the packages using virtual environment.
-
If there is an error in
database.py
, create aconfig.properties
file containing the following variables with your PostgreSQL configurations:- DB_USER
- DB_PASSWORD
- DB_HOST
- DB_PORT
- DB_NAME
-
Ensure that you use the exact column names defined in your Python model when querying in Flask.