TSFastifyExample/src/index.ts
2024-08-08 08:20:58 -04:00

15 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();