“init”

This commit is contained in:
2025-09-22 10:45:25 +07:00
commit 7fd2f07234
28 changed files with 1221 additions and 0 deletions

10
index.js Normal file
View File

@@ -0,0 +1,10 @@
require("dotenv").config({ path: __dirname + "/.env" });
const http = require("http");
const app = require("./app");
const { logger } = require("./utils/logger");
const server = http.createServer(app);
const PORT = process.env.PORT || 9524;
server.listen(PORT, () => logger.info(`Magic happening on port: ${PORT}`));