{"size": 296, "ext": "js", "max_stars_repo_path": "TravelooProject/routes/dest.js", "max_stars_repo_name": "Vincenqwu/Traveling-Website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "TravelooProject/routes/dest.js", "max_issues_repo_name": "Vincenqwu/Traveling-Website", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "TravelooProject/routes/dest.js", "max_forks_repo_name": "Vincenqwu/Traveling-Website", "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": 24.6666666667, "max_line_length": 57, "alphanum_fraction": 0.6621621622}
const express = require("express");
const router = express.Router();
const destData = require("../data/destinations");

router.get("/", (req, res) => {
  const destList = destData.destinationList;
  res.render("destinations", { destination: destList });

});

module.exports = router;
