{"size": 474, "ext": "js", "max_stars_repo_path": "server/routes/index.js", "max_stars_repo_name": "AndrewZ421/wizardOfOz", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/routes/index.js", "max_issues_repo_name": "AndrewZ421/wizardOfOz", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/routes/index.js", "max_forks_repo_name": "AndrewZ421/wizardOfOz", "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": 29.625, "max_line_length": 55, "alphanum_fraction": 0.6877637131}
const routes = require('express').Router();
const UserRoute = require('./UserRoute');
const AdminRoute = require('./AdminRoute');
const ProjectRoute = require('./ProjectRoute');
const TextRoute = require('./TextRoute');

routes.use('/user', UserRoute);
routes.use('/admin', AdminRoute);
routes.use('/project', ProjectRoute);
routes.use('/text', TextRoute);

routes.get('/', (req, res) => {
    res.status(200).json({message: 'Connected to API'})
})

module.exports = routes;