https://github.com/jayhawk24/blood_bank
Blood bank web application made with PHP , MySQL.
https://github.com/jayhawk24/blood_bank
Last synced: about 1 month ago
JSON representation
Blood bank web application made with PHP , MySQL.
- Host: GitHub
- URL: https://github.com/jayhawk24/blood_bank
- Owner: jayhawk24
- License: mit
- Created: 2021-03-10T16:08:18.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T05:33:46.000Z (about 5 years ago)
- Last Synced: 2025-01-27T08:11:43.421Z (over 1 year ago)
- Language: PHP
- Homepage: http://34.198.227.114/index.php
- Size: 90.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blood_bank
'Blood bank' web application made with PHP and MySQL
Check it out at http://34.198.227.114/
## Init Database
- `CREATE USER 'bloodBankAdmin'@'localhost' identified by 'securePassword';`
- `CREATE DATABASE bloodBank CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;`
- `GRANT ALL ON bloodBank.* to 'bloodBankAdmin'@'localhost';`
- `exit;`
- `mysql -u bloodBankAdmin -p bloodBank < mysqlDump.sql`
## Users
- Hospitals
- Recievers (Users in need of Blood)
- Donors
## Functionality
- #### Login Page
- Single login page for both hospitals and recievers.
- #### Add Info Page
- Add blood samples to hospital's bank.
- Only accessible to hospitals.
- #### Available Samples Page
- Displays all available blood samples along with which hospital has them.
- Request sample button. Only for recievers.
- Only one request per reciever can be placed.
- Recievers can select hospital at which they want.
- Accessible to everyone.
- #### View Requests Page
- Hospital can view list of all people who have requested a particular blood group from its bank.
- #### Donate Sample
- Only accessible to donors where they can donate blood.
- Donors can select hospital and select appointment date.
- Only one appointment allowed.
- #### Donations
- Only accessible to hospitals who can view interested donors and appointment date.