Module: Server_JS

Children

Description

This is an example of how to document routes.

Function: addRouter

Dynamically use router.js for the service with ‘name’ and ‘url’.

addRouter()
Arguments
  • addRouter() – name

  • addRouter() – url

Return Number

loaded_service_router: 0..1

Function: registerInternalServices

Auto runs to register internal services defined in config.js.

registerInternalServices()

Function: registerUI

Registers routing for UI module. UI module does not works as a separate service and acts as a middle layer between services (internal/external) and idea2Life UI

registerUI()