Start routing; rehydratable interface; add verbose logging

This commit is contained in:
garrettmills
2020-07-28 09:11:48 -05:00
parent a6995c6a85
commit a27618d5a3
22 changed files with 396 additions and 17 deletions

View File

@@ -6,3 +6,4 @@ export { default as RoutesUnit } from '../../lib/src/unit/Routes.ts'
export { default as HttpKernelUnit } from '../../lib/src/unit/HttpKernel.ts'
export { default as ModelsUnit } from '../../orm/src/ModelsUnit.ts'
export { default as HttpServerUnit } from '../../lib/src/unit/HttpServer.ts'
export { default as RoutingUnit } from '../../lib/src/unit/Routing.ts'

View File

@@ -1,6 +1,8 @@
export default {
port: 8080,
use_ssl: false,
prefix: '/',
allow_mount_without_prefix: false,
powered_by: {
enable: true,

View File

@@ -1,5 +1,13 @@
import {
ConfigUnit, DatabaseUnit, ControllerUnit, MiddlewareUnit, RoutesUnit, HttpKernelUnit, ModelsUnit, HttpServerUnit
ConfigUnit,
DatabaseUnit,
ControllerUnit,
MiddlewareUnit,
RoutesUnit,
HttpKernelUnit,
ModelsUnit,
HttpServerUnit,
RoutingUnit
} from './bundle/daton_units.ts'
export default [
@@ -10,5 +18,6 @@ export default [
MiddlewareUnit,
ControllerUnit,
RoutesUnit,
RoutingUnit,
HttpServerUnit,
]