SNDM - Schillernover's Database Managment Release v2.2
A release with the current version 2.2. Provided is a dummy data file(benutzer.txt), keys.env file with defaults for the keys and a version for Linux and Windows. Make sure to run it with enough permissions (sudo/admin) and that the files are in the same directory as the executable.
Current Keys: Can be Set in the Environment File (SNDM_KEY_A = Changing Users/Admin Key, SNDM_KEY_W = Changing Absence/Criminal, SNDM_KEY_E = Accessing Absence, SNDM_KEY_P = Accessing Criminal). Only the W Key is in the write_api_key header. The Admin Key can do everything.
IP: Should be http://0.0.0.0/. You can also use http://localhost/, which you have to use on Windows.
Changes:
- Keys are now set using the environment
- Presence changed into Absence
- fixed DB Naming
- added an Admin Key
- added dotenv integration
- streamlined Errors
Full Changelog: v2.1...v2.2