add Api is working response

This commit is contained in:
Nikola Petrov 2023-09-25 20:26:37 +02:00
parent d90c7302e7
commit 4e113cf8b4

View File

@ -10,4 +10,8 @@ router.use('/games', gameRouter);
router.use('/movies', mediaRouter);
router.use('/series', mediaRouter);
router.get('/', function (req, res, next) {
res.status(200).json({message: 'API is working'});
});
module.exports = router;