16 lines
373 B
TypeScript
16 lines
373 B
TypeScript
|
import { environment } from "../config/environment";
|
||
|
import { fastifyManager } from "./fastify/manager";
|
||
|
|
||
|
class Index {
|
||
|
public static async main() : Promise<void> {
|
||
|
const main = new Index();
|
||
|
await main.start();
|
||
|
};
|
||
|
|
||
|
public async start() : Promise<void> {
|
||
|
await fastifyManager.start();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
const index : Promise<void> = Index.main();
|