@ccci/micro-server 0.0.23 → 0.0.24

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 +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -78217,13 +78217,15 @@ class ApplicationServer {
78217
78217
  app.use(helmet());
78218
78218
  app.use(import_express.default.json());
78219
78219
  app.use(import_express_fileupload.default());
78220
+ console.log("#### Creating DB Connection");
78220
78221
  const db = new DatabaseConnector(path2);
78221
78222
  const conn = await DatabaseConnector.init();
78222
78223
  await db.connect(conn[0]);
78223
78224
  await db.initializeModels();
78225
+ console.log("#### Connected");
78224
78226
  new RouterFactory(app, path2, "routes");
78225
78227
  app.listen(port, () => {
78226
- console.log(`REST API server ready at: http://127.0.0.1:${port}`);
78228
+ console.log(`API Sever ready at: http://127.0.0.1:${port}`);
78227
78229
  });
78228
78230
  }
78229
78231
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",