@central-credit/engine
Version:
Engine to handle the Serasa requests
15 lines • 551 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const application_1 = require("./application");
exports.CentralCreditAppApplication = application_1.CentralCreditAppApplication;
async function main(options = {}) {
const app = new application_1.CentralCreditAppApplication(options);
await app.boot();
await app.start();
const url = app.restServer.url;
console.log(`Server is running at ${url}`);
console.log(`Try ${url}/ping`);
return app;
}
exports.main = main;
//# sourceMappingURL=index.js.map