Home Manual Reference Source Test Repository
public class | source

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:

NameTypeAttributeDescription
app ExpressJS

The ExpresssJS application.

Public Constructors

public constructor(app: Express) source

Create a routes object.

Params:

NameTypeAttributeDescription
app Express

The ExpresssJS instance.