References
Class Summary
Static Public Class Summary | ||
public |
Class for CRUD operations for beers. |
|
public |
Class for starting the API. |
|
public |
Class for displaying information about the server the API is running on. |
|
public |
Class for CRUD operations for users. |
Function Summary
Static Public Function Summary | ||
public |
createLogger(pretty: Boolean, verbose: Boolean, winston: winston): void Function to create a global logger object based on the properties of the logger function. |
|
public |
createTemp(): void Create the temporary directory. |
|
public |
Setup the Express service. |
|
public |
executeCommand(cmd: String): Promise Execute a command from within the root folder. |
|
public |
resetLog(): void Reset the default log file. |
|
public |
setupRoutes(app: ExpressJS): void Setup ExpressJS routing. |
Variable Summary
Static Public Variable Summary | ||
public |
The promise object to override the mongoose promise object. |
|
public |
The host of the server of the database. |
|
public |
The name of the database. |
|
public |
Check if this instance of the API is the master. |
|
public |
pageSize: Integer The amount of object show per page. |
|
public |
port: Integer The port on which the API will run on. |
|
public |
The name of the server. |
|
public |
The path to the temprary directory. |
|
public |
workers: Integer The amount of workers on the cluster. |
External Summary
Static Public External Summary | ||
public |
Create an Express Winston instance. |
|
public |
Winston: Wintson Create a Winston instance. |