{"size": 437, "ext": "js", "max_stars_repo_path": "app.js", "max_stars_repo_name": "darkvas/testFinance", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app.js", "max_issues_repo_name": "darkvas/testFinance", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app.js", "max_forks_repo_name": "darkvas/testFinance", "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.1333333333, "max_line_length": 84, "alphanum_fraction": 0.6933638444}
var bodyParser = require('body-parser');
var express = require('express');
var morgan = require('morgan');
var path = require('path');

var app = express();
app.use(morgan('dev'));
app.use(bodyParser.json({strict: false, inflate: false, type: 'application/json'}));
app.use(bodyParser.urlencoded({extended: false}));
app.use('/public', express.static(path.join(__dirname, './public')));

require('./routes')(app);

module.exports = app;
