Initial commit
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 4m2s

This commit is contained in:
2025-02-27 19:24:14 +01:00
parent 9318052560
commit 62acb290fe
27 changed files with 4873 additions and 0 deletions

15
server/index.js Normal file
View File

@ -0,0 +1,15 @@
const express = require("express");
const { Server } = require("socket.io");
const http = require("http");
const app = express();
app.disable("x-powered-by");
const server = http.createServer(app);
const io = new Server(server, {cors: {origin: "*"}});
io.on("connection", require("./handler/connection"));
server.listen(5287, () => {
console.log("Server running on port 5287");
});