parameters: (app)
docstring: Automatically registers all module that need some initializing with application.
      To-do: make it not only for shared modules
docstring_summary: Automatically registers all module that need some initializing with application.
      To-do: make it not only for shared modules
docstring_tokens: Automatically registers all module that need some initializing with application . To - do : make it not only for shared modules
function: def register_components(app):
      '''
      Automatically registers all module that need some initializing with application.
      To-do: make it not only for shared modules
      '''
      shared_modules_folder = Path.joinpath(Path.cwd(), 'src/modules', )
      __register_extensions_auto(shared_modules_folder, app, 'modules', 'api')
  
      services_modules_folder = Path.joinpath(Path.cwd(), 'src/shared/services')
      __register_extensions_auto(services_modules_folder, app, 'shared.services', 'service')
function_tokens: def register_components ( app ) : shared_modules_folder = Path . joinpath ( Path . cwd ( ) , 'src/modules' , ) __register_extensions_auto ( shared_modules_folder , app , 'modules' , 'api' ) services_modules_folder = Path . joinpath ( Path . cwd ( ) , 'src/shared/services' ) __register_extensions_auto ( services_modules_folder , app , 'shared.services' , 'service' )