{"size": 432, "ext": "js", "max_stars_repo_path": "bougainville-back/routes/fragsRouter.js", "max_stars_repo_name": "EdPaillard/BougainvilleStudio_v2", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "bougainville-back/routes/fragsRouter.js", "max_issues_repo_name": "EdPaillard/BougainvilleStudio_v2", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "bougainville-back/routes/fragsRouter.js", "max_forks_repo_name": "EdPaillard/BougainvilleStudio_v2", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 36.0, "max_line_length": 63, "alphanum_fraction": 0.7569444444}
const express = require('express');
const router = express.Router();

const fragsContrl = require('../controller/fragsContrl');

router.post('/fragments', fragsContrl.upload);
router.get('/fragments', fragsContrl.getFrags);
router.get('/fragments/read/:id', fragsContrl.getFrag);
router.put('/fragment/modifier/:id', fragsContrl.modifyFrags);
router.delete('/fragment/delete/:id', fragsContrl.deleteFrags);

module.exports = router;