A Flask + MySQL based DBMS project to manage users, donors, patients, organizations, transplantation transactions, and admin workflows.
This project includes:
- A Flask server for application logic and routing
- HTML frontend pages for admin and user workflows
- Statistics visualizations for donor/patient/transplant insights
- Admin operations for add, update, remove, and search flows
- Donor and patient registration and detail management
- Organization and organization head management
- Transaction management and history views
- Statistics page with generated charts
- Backend: Python, Flask
- Database: MySQL
- Data visualization: Matplotlib, NumPy
- Frontend: HTML, Bootstrap
dbmsProject/
|- server.py
|- create_tables.sql
|- frontend/
|- static/
|- ER diagrams/
|- PK_FK_Constraint.md
|- verification.txt
- Python 3.9+
- MySQL Server 8+
- pip
- Clone the repository and open the project folder.
- Create and activate a virtual environment.
- Install Python dependencies.
- Create a MySQL database named
dbms_project. - Execute
create_tables.sqland seed files fromseed_inserting_data/. - Update database credentials in
server.pyif needed. - Run the app.
Example commands (Windows PowerShell):
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install flask mysql-connector-python matplotlib numpy
python server.pyApp will run on:
http://127.0.0.1:5000
- Do not commit real credentials to source control.
- Move database credentials from
server.pyto environment variables for production. - Run the Flask app with
debug=Falseoutside development. - Follow the process in
SECURITY.mdto report vulnerabilities.
- License: see
LICENSE(MIT License) - Security Policy: see
SECURITY.md - Code of Conduct: see
CODE_OF_CONDUCT.md - Contributing Guide: see
CONTRIBUTING.md
This appears to be an academic DBMS project. Use responsibly and follow your institute's submission and collaboration policies.