Options
All
  • Public
  • Public/Protected
  • All
Menu

Class App

Configuration of the express application.

Hierarchy

  • App

Index

Constructors

constructor

  • new App(): App

Properties

app

app: express.Application

Stores the constructor of Express application.

redisClient

redisClient: RedisClient

redisStore

redisStore: RedisStore

Methods

Private initializeControllers

  • initializeControllers(controllers: Controller[]): void
  • Sets routes for each controller.

    Parameters

    • controllers: Controller[]

      Array of controllers

    Returns void

Private initializeMiddleWares

  • initializeMiddleWares(): void
  • Initializes middleware for accessing request and response objects.

    Returns void

Generated using TypeDoc