Node.js as gateway
NickName:seveves Ask DateTime:2013-11-08T02:39:08

Node.js as gateway

I am thinking of using node.js as a gateway. I want to implement several frontends (browser, apps etc.) which get served by node.js with data over websockets. Node.js cannot fetch this data directly from a database but node.js should get it from a backend through an interface which makes it easy to replace the backend. So I was thinking of using a restful layer or a publish /subscribe protocol like MQTT as interface. Ok ... question: Is this a good idea? Can node.js act as a gateway and what modules do you recommend for such a purpose? enter image description here

Copyright Notice:Content Author:「seveves」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/19844006/node-js-as-gateway

More about “Node.js as gateway” related questions

Node.js as gateway

I am thinking of using node.js as a gateway. I want to implement several frontends (browser, apps etc.) which get served by node.js with data over websockets. Node.js cannot fetch this data directl...

Show Detail

node.js api gateway implementation and passport authentication

I am working on implementing a microservices-based application using node.js. While searching for examples on how to implement the api gateway, I came across the following article that seems to pr...

Show Detail

Monitoring AWS Api Gateway Using Node.JS

I want to monitoring "How many api call on AWS API GATEWAY". I can monitoring API call using "Usage Plans" on AWS console. Usage Plans => Select Plans => API Keys => Select API Key => Click Usage....

Show Detail

AWS-Get all deployed Gateway APIs in node.js

I want to get all deployed Gateway APIs' endpoints under my account in a node.js function. Any API from AWS js SDK can achieve this?

Show Detail

Node.js RESTful API server on AWS EC2 vs AWS API Gateway

I have a node.js RESTful API application. There is no web interface (at least as of now) and it is just used as an API endpoint which is called by other services. I want to host it on Amazon's AWS...

Show Detail

Node.js 502 Bad Gateway on AWS

I deployed my node.js server on AWS. Server works well. But when I work on website sometimes it gives "502 bad gateway" error. And when I reload page, it works well again. How to fix it?...

Show Detail

redirect based authentication flow in secured by keycloak node.js app behind application gateway

I'm getting access denied errors in secured node.js app which is an official keycloak example app Secured app was dockerized and put behind application gateway which is itself dockerized. The

Show Detail

How to passthrough request cancellation through api gateway

We have next schema: Angular app -> AWS API Gateway -> Micro service(node.js) User clicks on cancel button for some slow processing. Frontend angular app cancels http request. But node.js app...

Show Detail

What's the best way to find default gateway IP in Node.js?

What's the best way nowadays to find the default gateway IP Address in Node.js? os.networkInterfaces() doesn't provide this info. The only idea coming in mind is to parse the stdout of a subprocess

Show Detail

Gateway Timeout when accessing Bluemix WEB IDE/Node.js logs

I am using Web IDE and want to see the log by clicking on the arrow.I can only see an empty "Untitled" page. The Node.js app is running normally. Live edit is switch off. After some minutes: Gate...

Show Detail