Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set Elastic search Loader? #235

Open
shkangr opened this issue May 27, 2021 · 0 comments
Open

How to set Elastic search Loader? #235

shkangr opened this issue May 27, 2021 · 0 comments

Comments

@shkangr
Copy link

shkangr commented May 27, 2021

Is there a way to set Elastic Search connection for the format of "...loader" like in this boiler plate?

more specific

bootstrapMicroframework({

  loaders: [
    winstonLoader,
    iocLoader,
    typeormLoader,
    expressLoader,
    swaggerLoader,
    homeLoader,
    publicLoader,
    elasticSearchLoader // <- I want to use like this
  ]
})
  .then(() => banner(log))
  .catch((error) => {
    console.log('error', error)
    log.error(`Application is crashed: ${error}`)
  })

I have no idea how to set "elasticSearchLoader.ts" file to use "microframework-w3tec" module

Does any one can help?

thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant