Search code examples
typescriptdrivine

Drivine without nest.js?


I have an existing node-ts-express-setup that is not powered by nest.js. Unfortunatly the drivine docs and examples lack setup instructions without nest.js.

Is it possible to run drivine without the need to import nest as dependency?


Solution

  • Drivine does not need NestJS to run - the purpose of NestJS is to:

    • Assemble a working module from the parts.
    • Provide an example of code style.

    However, at the present time package.json lists NestJS as a peer dependency. It is planned to split NestJS support into a separate npm module.

    I suggest to raise a feature request on the GitHub repo, so that the following can be done:

    • Split the NestJS parts into a separate module.
    • Provide a sample app.