refactoring the common db and pp auth set up so I can use the functions common_db_configure() and pp_auth_middleware() in REST services.
refactoring the common db and pp auth set up so I can use the functions common_db_configure() and pp_auth_middleware() in REST services.

pythonpro-dev/pp-web-base,pythonpro-dev/pp-web-base