{"size": 351, "ext": "js", "max_stars_repo_path": "backend/src/routes/index.js", "max_stars_repo_name": "cihat/seating-arrangement", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "backend/src/routes/index.js", "max_issues_repo_name": "cihat/seating-arrangement", "max_issues_repo_issues_event_min_datetime": "2021-12-23T23:01:57.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-28T01:43:30.000Z", "max_forks_repo_path": "backend/src/routes/index.js", "max_forks_repo_name": "cihat/seating-arrangement", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 8, "max_forks_count": null, "avg_line_length": 20.6470588235, "max_line_length": 65, "alphanum_fraction": 0.6723646724}
const express = require('express')
const { libraryService, studentService } = require('../services')

const router = express.Router()

//* Get all libraries
router.get('/', async (req, res) => {
  const library = await libraryService.load()
  res.send(library)
})

router.get('/ping', (req, res) => {
  res.sendStatus(200)
})

module.exports = router
