CogniCity Server /cards endpoint
(require("src/api/cards/index"))(config, db, logger) → {Object}
CogniCity Server /cards endpoint
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 cards route
- Type
- Object
- Source: