Skip to content

Blood Bank Database Management System using Flask and MySQL.

License

Notifications You must be signed in to change notification settings

saleheen-dev/Blood-Bank-Management-System

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Information Management System For A Blood Bank

Report Link: https://docs.google.com/document/d/1MZrnwYzGbihhWo9OdPqnqgWM3_yf3t5LY6qA_63C_xY/edit?usp=sharing

Flask Commands:

Install Dependencies:

 pip install -r requirements.txt

Start the server:

export FLASK_APP='app.py'

Run the app:

flask run

Database commands

Open MySQL in terminal:

mysql -u root -p

If the above commands doesn't works then:

sudo mysql -u root -p

followed by updating the password using:

$ ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new-password';

Once this is done stop and start the mysql server:

$  sudo service mysql stop
$  sudo service mysql start

View all databases:

SHOW DATABASES;

Creating a new database:

CREATE DATABASE bloodbank;

Use any database:

USE bloodbank;

Snapshots

Home Page

Contact Us

Register

Login

Dashboard

Add Donor

Donor Logs

Donor Blood Details

Blood Requests

About

Blood Bank Database Management System using Flask and MySQL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 59.0%
  • Python 41.0%