Main timer logic, socketio server and backend endpoints

This commit is contained in:
Julian Appel 2024-04-21 12:56:00 +02:00
parent 43f355765a
commit 093c8c6e24
3 changed files with 85 additions and 1 deletions

View file

@ -0,0 +1,7 @@
const { Server } = require('socket.io');
const io = new Server(3001, {
cors: { origin: "*" }
});
module.exports = io