The Blood Bank Management System is a web application designed to help blood banks manage donor information, donation records, and blood requests efficiently. This system is built using Flask, SQLite, and other modern web technologies such as HTML and CSS for the frontend. It provides a secure and easy-to-use platform for donors to register, donate blood, and track their donation history.
- Install Python:
- Download and install Python from Python.org
- Download the Source Code:
- Download the source code and extract it.
- Open the Project:
- Open the folder containing the source code in VS Code.
- Install Required Dependencies:
- Open the command line or terminal within VS Code and run the following command:
pip install -r requirements.txt
- Open the command line or terminal within VS Code and run the following command:
- Check the database files (
user_data.db
,donar_data.db
,request_data.db
) located in thedata
folder.- if
user_data.db
is missing, then runsetup_user_database.py
file to create a user database. - if
donar_data.db
is missing, then runsetup_donar_database.py
file to create a donar database. - if
request_data.db
is missing, then runsetup_request_database.py
file to create a request database.
- if
- Open the command line or terminal in VS Code.
- Run the following command to start the application:
python app.py
- Alternatively, right-click on the
app.py
file in VS Code and select Run in Terminal.
- The application will be accessible at
http://127.0.0.1:5000
. - Press Ctrl + click on the link to open it in your browser.