Module

x/alosaur/mod.ts>AppSettings

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
interface AppSettings
import { type AppSettings } from "https://dotland.deno.dev/x/alosaur@v0.34.0/mod.ts";

Application settings

Properties

areas: Function[]

Areas in application

optional
middlewares: Type<IMiddleware>[]

Middlewares declares in app layer

optional
staticConfig: StaticFilesConfig

Config for serve static files

optional
viewRenderConfig: ViewRenderConfig

View render config for default action response View("index")

optional
logging: boolean

Show log info to console

optional
container: DependencyContainer

Custom DI container

optional
providers: ProviderDeclaration[]

Providers declared in app

import AppSettings
import { AppSettings } from "https://dotland.deno.dev/x/alosaur@v0.34.0/mod.ts";