TSFastifyExample/src/index.ts

16 lines
373 B
TypeScript
Raw Normal View History

2024-08-08 08:20:58 -04:00
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();