mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
19 lines
591 B
TypeScript
Executable File
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()
|