2019-11-21 16:35:56 +00:00
|
|
|
import { ConfigurationHelper } from "./helpers/ConfigHelper";
|
|
|
|
import { DatabaseHelper } from "./helpers/DatabaseHelper";
|
2019-11-21 15:28:48 +00:00
|
|
|
|
2019-11-21 15:08:52 +00:00
|
|
|
/**
|
|
|
|
* Main project script
|
|
|
|
*
|
|
|
|
* @author Pierre HUBERT
|
|
|
|
*/
|
|
|
|
|
2019-11-21 15:28:48 +00:00
|
|
|
console.info("Comunic API v6\t@author Pierre HUBERT\t2019-" + new Date().getFullYear());
|
2019-11-21 15:08:52 +00:00
|
|
|
|
2019-11-21 15:28:48 +00:00
|
|
|
console.info("Load configuration...");
|
2019-11-21 16:35:56 +00:00
|
|
|
ConfigurationHelper.loadConf("config.json");
|
|
|
|
|
|
|
|
console.info("Connect to database");
|
|
|
|
DatabaseHelper.connect();
|