{"size": 515, "ext": "js", "max_stars_repo_path": "examples/frontend/enb/index.js", "max_stars_repo_name": "Alecmit/bla", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "examples/frontend/enb/index.js", "max_issues_repo_name": "Alecmit/bla", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "examples/frontend/enb/index.js", "max_forks_repo_name": "Alecmit/bla", "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": 30.2941176471, "max_line_length": 60, "alphanum_fraction": 0.5922330097}
var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var bla = require('../../../lib');
var api = new bla.Api(__dirname + '/../../api/**/*.api.js');

app
    .use(bodyParser.json())
    .use('/api/:method?', bla.apiMiddleware(api))
    .use('/pages', express.static(__dirname + '/pages'))
    .get('/', function (req, res) {
        res.sendFile(__dirname + '/pages/index/index.html');
    })
    .listen(7777);

console.log('Go to http://127.0.0.1:7777/ and have fun.');
