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

Requesting a proper microservices communication example #29

Open
samma89 opened this issue Jul 16, 2020 · 1 comment
Open

Requesting a proper microservices communication example #29

samma89 opened this issue Jul 16, 2020 · 1 comment

Comments

@samma89
Copy link

samma89 commented Jul 16, 2020

Hi @miaowing,

Thank you for providing such a great collection of tools for building microservices with NestJS. What I am looking for is a sample to understand how the NestCloud works with few microservices and the way those communicate with each other using Consul. Can you please put together something like below.

Service A - has a method getHello returns 'Hello from A'
Service B - has a method getHello returns 'Hello from B'
Service C - has a method getHello returns 'Hello from C'

Service D - consume all A, B, C services using Service discovery and provide a REST interface(API) to outside.

I am trying to understand how this works with the discovery service.

Please add a sample.

Thanks

@miaowing
Copy link
Member

miaowing commented Aug 14, 2020

Here is the example that you need: https://github.com/nest-cloud/nestcloud-consul-example

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

2 participants