{"size": 323, "ext": "js", "max_stars_repo_path": "start.js", "max_stars_repo_name": "mohammadeslami/node_api_boilerplate", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "start.js", "max_issues_repo_name": "mohammadeslami/node_api_boilerplate", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "start.js", "max_forks_repo_name": "mohammadeslami/node_api_boilerplate", "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": 23.0714285714, "max_line_length": 58, "alphanum_fraction": 0.613003096}
console.log('starting the application ......');
var spawn = require('child_process').spawn;

var startDb = spawn('mongod',['--config','mongod.conf'], {
    detached:false,
    env: process.env,
    stdio: 'inherit'
});

var startApp = spawn('node', ['.'],{
    detached:false,
    env: process.env,
    stdio: 'inherit'
});