{"size": 467, "ext": "js", "max_stars_repo_path": "Proofs of Concept/srv/src/routes/admin/students.js", "max_stars_repo_name": "thinn5/5WORK2019", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Proofs of Concept/srv/src/routes/admin/students.js", "max_issues_repo_name": "thinn5/5WORK2019", "max_issues_repo_issues_event_min_datetime": "2019-11-18T10:45:29.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-25T18:53:53.000Z", "max_forks_repo_path": "Proofs of Concept/srv/src/routes/admin/students.js", "max_forks_repo_name": "thinn5/5WORK2019", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 17, "max_forks_count": null, "avg_line_length": 42.4545454545, "max_line_length": 120, "alphanum_fraction": 0.7451820128}
const EXPRESS = require('express');
const ROUTER = EXPRESS.Router();
const PATH = require('path');
const STUDENT_ADMIN_CONTROLLER = require(PATH.join(__dirname, '..', '..', 'controllers', 'admin', 'studentController'));

ROUTER.get('/', STUDENT_ADMIN_CONTROLLER.list);
ROUTER.post('/add', STUDENT_ADMIN_CONTROLLER.add);
ROUTER.post('/delete/:id', STUDENT_ADMIN_CONTROLLER.delete);
ROUTER.post('/update/:id', STUDENT_ADMIN_CONTROLLER.update);

module.exports = ROUTER;