Routes
Class for setting up the routes for the API.
Static Method Summary
| Static Private Methods | ||
| private static |
_setupRoutes(app: ExpressJS) Setup ExpressJS routing. |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(app: Express) Create a routes object. |
|
Static Private Methods
private static _setupRoutes(app: ExpressJS) source
Setup ExpressJS routing.
Params:
| Name | Type | Attribute | Description |
| app | ExpressJS | The ExpresssJS application. |
Public Constructors
public constructor(app: Express) source
Create a routes object.
Params:
| Name | Type | Attribute | Description |
| app | Express | The ExpresssJS instance. |