import { Application } from "https://deno.land/x/dactyl@v0.1.0-alpha/Application.ts";
Bootstrap class responsible for registering controllers onto Router, and starting the Oak webserver
Constructors
new
Application(appConfig: ApplicationConfig)Properties
private
app: OakApplicationprivate
router: RouterMethods
private
handleNotFound(context: Context): Promise<void>404 middleware, enabled by default and not disableable
run(port: number): Promise<void>
Function responsible for begin listen of oak webserver. Console notified when webserver begins.
The webserver will start on port port
as provided as
an argument.