{"size": 390, "ext": "js", "max_stars_repo_path": "app.js", "max_stars_repo_name": "jirrick/jirrickBot", "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": "jirrick/jirrickBot", "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": "jirrick/jirrickBot", "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": 24.375, "max_line_length": 50, "alphanum_fraction": 0.6743589744}
'use strict';
const express = require('express'),
    app = express(),
    config = require('./config'),
    port = process.env.PORT || config.server.port,
    mongoose = require('mongoose'),
    bot = require('./controllers/BotController');

mongoose.Promise = global.Promise;
mongoose.connect(config.mongodb);

app.listen(port);
bot.run();

console.log('jirrickBot started on: ' + port);
