{"size": 417, "ext": "js", "max_stars_repo_path": "routes/index.js", "max_stars_repo_name": "thebeardofgimili/insite-login", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "routes/index.js", "max_issues_repo_name": "thebeardofgimili/insite-login", "max_issues_repo_issues_event_min_datetime": "2021-05-11T12:07:00.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-06T16:10:49.000Z", "max_forks_repo_path": "routes/index.js", "max_forks_repo_name": "thebeardofgimili/insite-login", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 32.0769230769, "max_line_length": 89, "alphanum_fraction": 0.7074340528}
const express = require('express');
const router = express.Router();
const {ensureAuthenticated} = require('../config/auth');
const passport = require('passport');

//Welcome Page!
router.get('/', (req, res) => res.render('welcome'));

//Dashboard, the ensureAuthenticated is just added to any get request to protect the page
router.get('/dashboard', (req, res) => 
res.render('dashboard'));

module.exports = router;