@ccci/micro-server 0.0.35 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -87765,21 +87765,21 @@ class RouterFactory {
87765
87765
  class ApplicationServer {
87766
87766
  static async bootstrap(path2, port) {
87767
87767
  const app = import_express.default();
87768
- Logger.info("Setting up application middlewares...");
87768
+ Logger.info("Setting up application middlewares...\n");
87769
87769
  app.use(import_cors.default());
87770
87770
  app.use(helmet());
87771
87771
  app.use(import_express.default.json());
87772
87772
  app.use(import_express_fileupload.default());
87773
- Logger.info("Initializing DB Connection...");
87773
+ Logger.info("Initializing DB Connection...\n");
87774
87774
  const db = new DatabaseConnector(path2);
87775
87775
  const conn = await DatabaseConnector.init();
87776
87776
  await db.connect(conn[0]);
87777
87777
  await db.initializeModels();
87778
- Logger.info("Create API Routes...");
87778
+ Logger.info("Create API Routes...\n");
87779
87779
  new RouterFactory(app, path2, "routes");
87780
- Logger.info("Starting Server...");
87780
+ Logger.info("Starting Server...\n");
87781
87781
  app.listen(port, () => {
87782
- Logger.info(`API Sever ready at: http://127.0.0.1:${port}`);
87782
+ Logger.info(`\nAPI Sever ready at: http://127.0.0.1:${port}\n`);
87783
87783
  });
87784
87784
  }
87785
87785
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",