Files
artdanj-api/server.ts
2021-06-30 22:27:07 +02:00

19 lines
591 B
TypeScript
Executable File

/*
|--------------------------------------------------------------------------
| AdonisJs Server
|--------------------------------------------------------------------------
|
| The contents in this file is meant to bootstrap the AdonisJs application
| and start the HTTP server to accept incoming connections. You must avoid
| making this file dirty and instead make use of `lifecycle hooks` provided
| by AdonisJs service providers for custom code.
|
*/
import 'reflect-metadata'
import { Ignitor } from '@adonisjs/core/build/standalone'
new Ignitor(__dirname)
.httpServer()
.start()