export class Config { public static DbConnection: string = "mongodb://localhost:27017/userDatabase"; public static basePath: string = "data"; public static apiversion: string = "v1"; public static ElasticSearchConnection : string = "http://localhost:9200"; public static ApplyElasticSearch : boolean = false; public static ignorePaths = []; public static isMultiThreaded = true; // This param is for configuring multi process using worker attribute.. } export class SqlConfig { public static isSqlEnabled: boolean = false; public static database: string = "test"; public static username: string = "sa"; public static password: string = "Apr@2016"; public static sequlizeSetting: any = { host: '172.19.101.120', dialect: 'mssql', pool: { max: 5, min: 0, idle: 10000 } // SQLite only //storage: 'path/to/database.sqlite' }; } export class Security { public static isAutheticationEnabled = "disabled";//allowed values: "disabled","enabledWithoutAuthorization","enabledWithAuthorization" public static authenticationType = "TokenBased";//allowed values: "passwordBased","TokenBased" public static useFaceBookAuth = false; } export class facebookAuth { public static clientID = '11';// your App ID public static clientSecret = 'aa';// your App Secret public static callbackURL = 'http://localhost:23548/auth/facebook/callback'; }