aboutsummaryrefslogtreecommitdiffstats
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/server.ts b/server.ts
new file mode 100644
index 0000000..f334636
--- /dev/null
+++ b/server.ts
@@ -0,0 +1,19 @@
1/*
2|--------------------------------------------------------------------------
3| AdonisJs Server
4|--------------------------------------------------------------------------
5|
6| The contents in this file is meant to bootstrap the AdonisJs application
7| and start the HTTP server to accept incoming connections. You must avoid
8| making this file dirty and instead make use of `lifecycle hooks` provided
9| by AdonisJs service providers for custom code.
10|
11*/
12
13import 'reflect-metadata';
14import sourceMapSupport from 'source-map-support';
15import { Ignitor } from '@adonisjs/core/build/standalone';
16
17sourceMapSupport.install({ handleUncaughtExceptions: false });
18
19new Ignitor(__dirname).httpServer().start();