This commit is contained in:
2026-08-20 21:42:57 +03:00
parent a320821d69
commit e45855e790
36 changed files with 399 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
const http = require("http");
const PORT = process.env.PORT || 8080;
const server = http.createServer((req, res) => {
res.writeHead(200, { "Content-Type": "text/plain" });
res.end("Hello from Node.js!");
});
server.listen(PORT, "0.0.0.0", () => {
console.log(`Server listening on port ${PORT}`);
});