Add skeleton

This commit is contained in:
2025-09-17 13:29:29 +07:00
parent 3feb9aa723
commit 6212048aec
10 changed files with 203 additions and 4 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}`));