import { MandarineMvcFrameworkStarter } from "https://deno.land/x/mandarinets@v2.3.2/mvc-framework/engine/mandarineMvcFrameworkStarter.ts";
This class works as the MVC engine and it is responsible for the initialization & behavior of HTTP requests. It handles the initialization of controllers, routes, repository proxys, entity manager and others. This class is the Mandarine Compiler since it is the most important class for the MVC framework to work as it resolves everything it needs
Properties
private
essentials: { sessionMiddleware: SessionMiddleware; }private
internalMiddlewareManager: MiddlewareManagerprivate
logger: Logprivate
router: RouterMethods
private
addPathToRouter(router: Router,
routingAction: Mandarine.MandarineMVC.Routing.RoutingAction,
controllerComponent: ControllerComponent,
private
executeUseGuards(guards: Array<GuardTarget | Function>, context: Mandarine.Types.RequestContext)private
executeUserMiddlewares(preRequestMiddleware: boolean,
middlewares: Array<Mandarine.Types.MiddlewareComponent | NonComponentMiddlewareTarget>,
context: Mandarine.Types.RequestContext,
private
postRequestInternalMiddlewares(context: Mandarine.Types.RequestContext): voidprivate
preRequestInternalMiddlewares(context: Mandarine.Types.RequestContext,
routingAction: Mandarine.MandarineMVC.Routing.RoutingAction,
controllerComponent: ControllerComponent,
intializeControllersRoutes(): void