@corsed-bytes/ngx-interaction
v0.0.2
Published
Helper library for Angular microfrontends that interacting with backend. I.e. through Rest and MQTT also syncing MQTT updates with Rest requests.
Downloads
2
Readme
Interaction Module
Assists in dealing with common interaction between microfrontends and microservices through REST + MQTT.
This module requires MQTT and REST endpoints. In general its purpose is to receive notification through MQTT and transform them into real objects based on executed REST-calls. It is done that way so that MQTT is not necessarily required to be encrypted or authenticated by user.
Authentication Token
Provide authentication token through an Interceptor such as JWT-Token Interceptor included in @corsed-bytes/ngx-authorization.
If you like to do single REST-Calls please stick to a simple HTTP-Client of your choice. Also when using GraphQL you should rely on the asynchronous and synchronous communication made possible by such technology.