first commit

This commit is contained in:
creations 2025-04-05 01:28:29 -04:00
commit b11c87a506
Signed by: creations
GPG key ID: 8F553AA4320FC711
26 changed files with 1782 additions and 0 deletions

16
src/index.ts Normal file
View file

@ -0,0 +1,16 @@
import { logger } from "@helpers/logger";
import { serverHandler } from "@/server";
async function main(): Promise<void> {
try {
serverHandler.initialize();
} catch (error) {
throw error;
}
}
main().catch((error: Error) => {
logger.error(["Error initializing the server:", error]);
process.exit(1);
});