{"size": 491, "ext": "js", "max_stars_repo_path": "config/express.js", "max_stars_repo_name": "clsechi/hackathon-api", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "config/express.js", "max_issues_repo_name": "clsechi/hackathon-api", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "config/express.js", "max_forks_repo_name": "clsechi/hackathon-api", "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.3181818182, "max_line_length": 53, "alphanum_fraction": 0.6252545825}
var express = require('express');
var consign = require('consign');
var bodyParser = require('body-parser')
var watson = require('watson-developer-cloud');

module.exports = function(){
    var app = express();

   	app.use(express.static('./public'));

    app.set('view engine', 'ejs');
	app.set('views', './views');
    
    app.use(bodyParser.urlencoded({extended: true}));
    app.use(bodyParser.json());

    consign()
    	.include('./controllers')
    	.into(app);

    return app;
}