feat(api/games): add GET /types endpoint
All checks were successful
Deploy to Production / deploy (push) Successful in 21s

This commit is contained in:
vuongps38770
2026-01-28 09:50:11 +07:00
parent 9055b2b611
commit c8af2e268d
2 changed files with 38 additions and 0 deletions

View File

@@ -10,6 +10,9 @@ const gameController = require('../controllers/gameController');
// Get all games
router.get('/', gameController.getAllGames);
// Get all game types
router.get('/types', gameController.getGameTypes);
// Get game statistics
router.get('/stats', gameController.getGameStats);