Common module for Express Skeleton

Usage no npm install needed!

<script type="module">
  import vpSolutionsExpressSkeletonCommonModule from 'https://cdn.skypack.dev/@vp_solutions/express-skeleton-common-module';


Common module for @vp_solutions/express-skeleton

Module description

Common Module provide components such a RestController, BaseRouter, ServerTools and etc.

Example of usage with Inversify IoC container:

Common module is ES module that contain interfaces, middlewares and many other things. You can use this module as other npm packages.

// example.router.ts
import { injectable } from 'inversify';
import { BaseRouter, runAsync } from '@vp_solutions/express-skeleton-common-module';

export class ExampleRouter extends BaseRouter {
  protected defineRoutes(): void {
      runAsync(async (req, res, next) => {
        // your async logic