Added game creation and deletion

This commit is contained in:
2025-12-28 12:51:15 +01:00
parent b923785c9f
commit cd72390f42
3 changed files with 128 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ import { initAuth } from './src/auth.js';
import { initDbConnection, db } from './src/db.js';
import { initUsers } from './src/user.js';
import { initCdn } from './src/cdn.js';
import { initGames } from './src/games.js';
const app = express();
const appWs = expressWs(app);
const port = 12345;
@@ -25,6 +26,7 @@ initAuth(app, db);
initUsers(app, db);
initWebsocket(app);
initCdn(app, db);
initGames(app, db);
app.listen(port, () => {
console.log(`Listening on port ${port}`);