diff --git a/routes/api/apiRouter.js b/routes/api/apiRouter.js index 95ae070..23c1284 100644 --- a/routes/api/apiRouter.js +++ b/routes/api/apiRouter.js @@ -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; \ No newline at end of file