Changes to config
Some suggestions:
-
Separate joi
schemas from the rest -
validate config -
configure authsome with filepath (i.e. a string) rather than module -
eliminate references to process.env
outside of config/. Always import from config/ instead.
Agree? Disagree?