{"size": 392, "ext": "js", "max_stars_repo_path": "routes/department.js", "max_stars_repo_name": "cksadhukhan/institute-management-system", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "routes/department.js", "max_issues_repo_name": "cksadhukhan/institute-management-system", "max_issues_repo_issues_event_min_datetime": "2022-02-26T23:35:50.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T23:35:50.000Z", "max_forks_repo_path": "routes/department.js", "max_forks_repo_name": "cksadhukhan/institute-management-system", "max_forks_repo_forks_event_min_datetime": "2020-10-03T05:17:59.000Z", "max_forks_repo_forks_event_max_datetime": "2020-10-03T05:17:59.000Z"}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 26.1333333333, "max_line_length": 56, "alphanum_fraction": 0.6989795918}
const express = require('express');
const router = express.Router();

const department = require('../controllers/department');

router.post('/create', department.create);
router.post('/modify/', department.modify);
router.get('/:id', department.read);
router.get('/delete', department.delete);

router.get('/about', (req, res) => {
	res.send('Department about');
});

module.exports = router;