The Blood_Bank_Backend is based on with Python with flask server coupled with MySQL server.
- Install requirements.txt
pip install -r requirements.txt
pip install mysql-connector-python
-
Run CreateTables.sql in your SQL Workbench
-
Run Populate.py to populate data
-
Open app.py and configure the following with your own Workbench Credentials
app.config['MYSQL_USER'] = 'root'
app.config['MYSQL_PASSWORD'] = 'dbms_123'
app.config['MYSQL_HOST'] = '127.0.0.1'
app.config['MYSQL_DB'] = 'ConnectGroup'
app.config['MYSQL_CURSORCLASS'] = 'DictCursor'
- Run flask server
For CMD, type -
python app.py
For Anaconda/Linux type -
flask run
Lakshay Sharma | Jay Rawal | Aman |