Files
extollo/src/index.ts
2021-03-06 11:44:55 -06:00

16 lines
484 B
TypeScript

import {Application} from "@extollo/lib";
import {Units} from './Units.extollo'
;(async () => {
/*
* The Application
* -----------------------------------------------------
* The application instance is a global inversion of control container that
* ties your entire application together. The app container manages services
* and lifecycle.
*/
const app = Application.getApplication()
app.scaffold(__dirname, Units)
await app.run()
})()