Express-konnector
An express connector for Konsserto framework.
Usage
This piece of code will make multiple tasks :
- Registering stuff in injector that will be accessible from inside the express-konnector (like controller declaration for example)
- Load the express routes with the RouteParser and resolve the routes controller using the injector
- Load the routes directly into the express application
const injector = Injector const routeParser = '/path/to/route.yml' /** * Create a new application */const app = appappstart3000