{"size": 368, "ext": "js", "max_stars_repo_path": "server.js", "max_stars_repo_name": "fioprotocol/fio-staking-service", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server.js", "max_issues_repo_name": "fioprotocol/fio-staking-service", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server.js", "max_forks_repo_name": "fioprotocol/fio-staking-service", "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": 21.6470588235, "max_line_length": 44, "alphanum_fraction": 0.6902173913}
const express = require('express')
const app = express();
const bodyParser = require('body-parser')
import mainCtrl from './controller/main';
app.use(
  express.urlencoded({
    extended: true
  })
)

app.use(express.json())
app.use(bodyParser.json())
mainCtrl.start(app).catch(console.error);
app.listen(3010, () => {
  console.log(`server listening on *: 3010`)
});
