Module: src/api/infrastructure/index

CogniCity Server /infrastructure endpoint

(require("src/api/infrastructure/index"))(config, db, logger) → {Object}

Endpoint specification for infrastructrue data
Parameters:
Name Type Description
config Object Server configuration
db Object PG Promise database instance
logger Object Configured Winston logger instance
Source:
Returns:
api Express router object for reports route
Type
Object
Source: