inversify / inversify-express-utils

Some utilities for the development of Express application with InversifyJS
MIT License
585 stars 100 forks source link

can i work with Inversify without Inversify-express-server #86

Closed kiranagre closed 6 years ago

kiranagre commented 6 years ago

since i am using serverless architecture i want to use only DI and pass container with other event

remojansen commented 6 years ago

HI @kiranagre inversify is a standalone library, you can use it without Inversify-express-server. You can find an example at https://github.com/inversify/inversify-basic-example

remojansen commented 6 years ago

I'm closing this issue if you don't mind because as indicated by our ISSUE_TEMPLATE all issues should be reported at the main repo: https://github.com/inversify/InversifyJS/issues

kiranagre commented 6 years ago

Hi Remo,

Basic example is also using inversify-express-utils.

why we have to put container in InversifyExpressServer while starting the server.

On Wed, Dec 6, 2017 at 8:15 PM, Remo H. Jansen notifications@github.com wrote:

HI @kiranagre https://github.com/kiranagre inversify is a standalone library, you can use it without Inversify-express-server. You can find an example at https://github.com/inversify/inversify-basic-example

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/inversify/inversify-express-utils/issues/86#issuecomment-349660349, or mute the thread https://github.com/notifications/unsubscribe-auth/ALmuQzvlu0TNtBM3slQfDS03FF01e-eDks5s9qiKgaJpZM4Q3_I3 .

-- Thanks and Regards, Kiran A

remojansen commented 6 years ago

There are two examples: