move to public repo

This commit is contained in:
Nathaniel Tampus
2023-01-03 15:47:30 +08:00
commit 17ce3cf4c4
58 changed files with 2430 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { Router } from "express";
const router = Router();
import * as controller from "../controllers/games.controller";
router.route("/").get(controller.getActiveGames).post(controller.createGame);
//router.route("/:id").put(controller.joinGame);
// todo: api for updating games/moves requiring authentication
export default router;