I've two node apps/services that are running together,  1. main app 2. second app  The main app is responsible to show all the data from diffrent apps at the end. Now I put some code of the second app in the main app and now its working, but I wa...
I have been racking my brains for a simple solution.  Lets say, I have 10 API endpoints in my Node JS application.   I have already allowed 3 of them to be public, the remaining 4 have JWT based authentication  Now I have 3 more routes, which will no...
There are so many answers and blog posts saying "never share code between microservices" and I wonder right now how I am supposed to follow that advice. I've got the following microservices and each of them is communicating via RabbitMQ:...
I’m currently writing a web application that has a bunch of microservices. I’m currently exploring how to properly communicate between all these services and I’ve decided to stick with a message bus, or more specifically Apache Kafka.   However...
I am creating web app and micorservice for that app, and both need to have same DB model created with Sequelize. What is approach for handling this task with NodeJS?  I am thinking about creating separate module of my DB models and save it in private...
Based on the Netflix Hystrix circuit-breaker design pattern i was trying to do the following:  const circuitBreaker = require('opossum'); import * as request from 'request-promise';  const circuit = circuitBreaker(request.get);  circu...
So imagine, I want to retrieve all orders for an array of customers. The arrayList in the example below will have an array of customer IDs.  This array will be passed into the get method below and processed asynchronously retrieving orders for each c...
I have connected two meteor applications via DDP. I expected to get the DB data also on the second service application, but I don't get any data. As both is running on server side I didn't do any subscription - which I think I don't have...
I'm trying to put together a small edgeSDK microservice operation that programmatically adds a body to the http request it makes so that the user doesn't have to do it manually as part of the curl command. At the moment, if I execute in a ter...
we are currently facing the challenge to integrate multiple API microservices and their corresponding UI into a web app.  We allready have some UI Solutions which we want to reuse and are searching for a good way to structure the client part.  The UI...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.