A college project in Node.js using Express.
A blood bank web app that allows users to manage blood inventory by adding and dispensing doses. It features three user types with different permissions and logs all actions, which can be exported as PDF reports using a Puppeteer-based library.
| Collaborators | |
| @ElenaChes | @RoeiHarfi |
|
|
- Run
npm i. - Start
app.js.
- Log in to your preferred user. (registered users list is in
database/users.json) - Regular users can:
- Add blood doses to inventory, dispense a set amount, or dispense all O- blood doses in the case of an MCI.
- Change their own password.
- Research student users can:
- View and export logs with personal data emitted.
- Change their own password.
- Admin users can:
- Add blood doses to inventory, dispense a set amount, or dispense all O- blood doses in the case of an MCI.
- View and export full logs.
- Add, edit, and delete users in the system.
- View the blood inventory and remove expired doses.
Caution
Passwords are stored in plaintext in database/users.json.
This project is intended for learning/testing purposes only and should not be used in any real production environment.

