Server for Blood Donation app developed during 4th semester It allows Personnel to manage donations (collect, test and accept/decline) and allocate blood bags for the requests. It allows Donators to create and account, check if they're suitable for donating and see all previous donations. When creating the account, if they've already donated, their CNP will be binded to the already existing donations. It allows Doctors to manage personnel, create and manage donation requests.
All the config <key, value> pairs can be found in Resources>config.properties.
The db properties are for the production/debug mode. The testdb properties will be automatically triggered when running unit tests. You can force database recreation by specifying db.creation=true and having a valid SQL script in the db.creation_sql key. Tests automatically recreate the database from the db.creation_sql script (so make sure that's valid before testing!)
For some reason, db.creation is shown as true after recreating the database, but its actual value is false.