UNPKG

@shrinedev/loopback-keycloak-demo-app

Version:

Example Loopback App that integrates with Keycloak.

18 lines 579 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const application_1 = require("./application"); exports.ShrineApplication = application_1.ShrineApplication; async function main(options = {}) { options.rest = { host: 'localhost', }; const app = new application_1.ShrineApplication(options); await app.boot(); await app.start(); const url = app.restServer.url; console.log(`Server is running at ${url}`); console.log(`Try ${url}/auth/me`); return app; } exports.main = main; //# sourceMappingURL=index.js.map