personal_website/routes/api/apiRouter.js
2023-08-02 18:28:58 +02:00

17 lines
351 B
JavaScript

var express = require('express');
var router = express.Router();
var photosRouter = require('./photoRouter');
var movieRouter = require('./movieRouter');
var gameRouter = require('./gameRouter');
router.use('/photos', photosRouter);
router.use('/movies', movieRouter);
router.use('/games', gameRouter);
module.exports = router;