mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-12 10:50:31 +00:00
17 lines
359 B
TypeScript
17 lines
359 B
TypeScript
import 'reflect-metadata'; // We need this in order to use @Decorators
|
|
import 'newrelic';
|
|
import './before';
|
|
import '@/config';
|
|
|
|
import express from 'express';
|
|
import loadersFactory from 'loaders';
|
|
|
|
async function startServer() {
|
|
const app = express();
|
|
|
|
// Intiialize all registered loaders.
|
|
await loadersFactory({ expressApp: app });
|
|
}
|
|
|
|
startServer();
|