{"size": 309, "ext": "js", "max_stars_repo_path": "app/routes/index.js", "max_stars_repo_name": "jerossh/express-init", "max_stars_repo_stars_event_min_datetime": "2017-03-14T06:18:11.000Z", "max_stars_repo_stars_event_max_datetime": "2017-11-05T18:40:24.000Z", "max_issues_repo_path": "app/routes/index.js", "max_issues_repo_name": "jerossh/express-init", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/routes/index.js", "max_forks_repo_name": "jerossh/express-init", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.0714285714, "max_line_length": 45, "alphanum_fraction": 0.6699029126}
const Index = require('./controllers/index');
const fs = require('fs')
const path = require('path')
const router = require('express').Router();

router.use(function(req, res, next){
  var _user = req.session.user
    res.locals.user = _user
    next()
})
router.get('/', Index.new);

module.exports = router;
