Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 2.32 KB

File metadata and controls

68 lines (56 loc) · 2.32 KB

Bio Project - Blood Bank

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

Content


Installation

  1. Run npm i.
  2. Start app.js.

Usage

  1. Log in to your preferred user. (registered users list is in database/users.json)
  2. 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.
  3. Research student users can:
    • View and export logs with personal data emitted.
    • Change their own password.
  4. 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.