Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/mod.ts>AppSettings

Alosaur - Deno web framework with many decorators
Go to Latest
interface AppSettings
Re-export
import { type AppSettings } from "https://deno.land/x/alosaur@v0.30.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