{"size": 295, "ext": "js", "max_stars_repo_path": "templates/mongo-with-jwt/src/app.js", "max_stars_repo_name": "drethenrain/api-template", "max_stars_repo_stars_event_min_datetime": "2021-08-05T23:53:08.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-22T18:43:25.000Z", "max_issues_repo_path": "templates/mongo-with-jwt/src/app.js", "max_issues_repo_name": "drethenrain/api-template", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "templates/mongo-with-jwt/src/app.js", "max_forks_repo_name": "drethenrain/api-template", "max_forks_repo_forks_event_min_datetime": "2021-08-25T16:29:03.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-25T16:29:03.000Z"}
{"max_stars_count": 24, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 19.6666666667, "max_line_length": 46, "alphanum_fraction": 0.6779661017}
const express = require('express');
const cookieParser = require('cookie-parser');
const morgan = require('morgan');

const api = require('./routes');

const app = express();

app.use(express.json());
app.use(cookieParser());
app.use(morgan('dev'));
app.use('/api', api);

module.exports = app;
