{"size": 662, "ext": "js", "max_stars_repo_path": "icetea/index.js", "max_stars_repo_name": "TradaTech/icetea", "max_stars_repo_stars_event_min_datetime": "2019-03-13T17:13:19.000Z", "max_stars_repo_stars_event_max_datetime": "2020-12-07T15:58:52.000Z", "max_issues_repo_path": "icetea/index.js", "max_issues_repo_name": "TradaTech/icetea", "max_issues_repo_issues_event_min_datetime": "2019-02-20T04:36:51.000Z", "max_issues_repo_issues_event_max_datetime": "2020-11-30T11:18:22.000Z", "max_forks_repo_path": "icetea/index.js", "max_forks_repo_name": "TradaTech/icetea", "max_forks_repo_forks_event_min_datetime": "2019-09-10T05:05:21.000Z", "max_forks_repo_forks_event_max_datetime": "2020-10-12T04:33:32.000Z"}
{"max_stars_count": 87, "max_issues_count": 38, "max_forks_count": 9, "avg_line_length": 31.5238095238, "max_line_length": 117, "alphanum_fraction": 0.6963746224}
process.env.TZ = 'utc'
process.env.LANG = 'en_US.UTF-8'
process.env.LC_ALL = 'en_US.UTF-8'

require('dotenv').config()
const server = require('abci')
const { startup } = require('./app/abcihandler')
const { versions, abciServerPort } = require('./config')
const semver = require('semver')
const debug = require('debug')('icetea')

if (!semver.satisfies(process.versions.node, versions.node)) {
  throw new Error(`Icetea requires Node version ${versions.node}, your current version is ${process.versions.node}.`)
}

startup().then(handler => {
  server(handler).listen(abciServerPort, () => {
    debug(`ABCI server listening on port ${abciServerPort}!`)
  })
})
