Replaces nconf with dotenv to make it possible to setup env variables natively as opposed to referencing values in a JSON file. This way, users can easily deploy the project as-is and configure it separately in a library-agnostic way.
Makes HTTP Basic optional (not providing at least one of BASIC_AUTH_USER or BASIC_AUTH_PASSWORD will generate a warning)
Introduces a sanity check routine that fails on startup if any of the configuration variables are missing, and warns if HTTP Basic Auth is not enabled.
This PR:
nconf
withdotenv
to make it possible to setup env variables natively as opposed to referencing values in a JSON file. This way, users can easily deploy the project as-is and configure it separately in a library-agnostic way.BASIC_AUTH_USER
orBASIC_AUTH_PASSWORD
will generate a warning)