{"size": 840, "ext": "js", "max_stars_repo_path": "poe/poe.API/server.js", "max_stars_repo_name": "jeffward01/PoE-API", "max_stars_repo_stars_event_min_datetime": "2017-07-09T04:32:00.000Z", "max_stars_repo_stars_event_max_datetime": "2017-07-09T04:32:00.000Z", "max_issues_repo_path": "poe/poe.API/server.js", "max_issues_repo_name": "jeffward01/PoE-API", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "poe/poe.API/server.js", "max_forks_repo_name": "jeffward01/PoE-API", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.0, "max_line_length": 68, "alphanum_fraction": 0.675}
nodvar dotenv = require('dotenv').config();


var multichain = require("multichain-node")({
    port: "6448",
    host: "45.63.60.176",
    user: "multichainrpc",
    pass: "9U4honDBwaFdSaF66Qhn8xp2xeMDdcmxfeagUmqWeiVQ"
});

var express = require("express");
var bodyParser = require("body-parser");
var fs = require("fs");



var app = express();


// parse application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({ extended: false }));

// parse application/json
app.use(bodyParser.json());

var routes = require('./routes')(app);



//Route Prefix:
//https://stackoverflow.com/questions/30966337/express-router-prefix
//var router = express.Router();
//router.use('/user', user);
//
//app.use('/api/v1', router);


var server = app.listen(3000, function () {
    console.log("Listening on port %s...", server.address().port);
});