{"size": 274, "ext": "js", "max_stars_repo_path": "api/routes/index.js", "max_stars_repo_name": "salindersidhu/Scriber", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "api/routes/index.js", "max_issues_repo_name": "salindersidhu/Scriber", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "api/routes/index.js", "max_forks_repo_name": "salindersidhu/Scriber", "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": 22.8333333333, "max_line_length": 55, "alphanum_fraction": 0.598540146}
const users = require('./users');
const sessions = require('./sessions');

module.exports = (router) => {
    users(router);
    sessions(router);
    /* Generic catch all route for invalid endpoints */
    router.use((req, res) => {
        res.sendStatus(404);
    });
};
