firt commit

This commit is contained in:
Kaby_Kun 2025-06-04 15:13:40 +02:00
commit c2e63830e1
71 changed files with 9613 additions and 0 deletions

12
server/routes/matches.js Executable file
View file

@ -0,0 +1,12 @@
import express from 'express';
import { getMatches, getMatchDetails } from '../controllers/matchController.js'; // Assuming this controller file/functions
const router = express.Router();
// Route to get all matches
router.get('/', getMatches);
// Route to get details for a specific match
router.get('/:id', getMatchDetails);
export default router;