JavaScript, Nodejs, Web Development, Programming, Software Development.
const express = require('express'); const adminController = require('../controllers/admin'); const router = express.Router(); router.get('/', adminController.getIndex); router.get('/anime', adminController.getAnime); module.exports = router; Finally update the index.js file in the root folder with