Home Applications IRIS-NativeAPI-Nodejs-compact

IRIS-NativeAPI-Nodejs-compact

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
1 reviews
0
Awards
236
Views
0
IPM installs
4
2
Details
Releases
Reviews
Issues
Pull requests
Articles
an all-in-1 package of the WebSocket MicroService Demo

What's new in this version

moved to archive

IRIS-Nodejs-API-compact

an all-in-1 package of the WebSocket MicroService Demo

To simplify the demo of the WebSocket-Micro-Server (WSockClientMicroSV)
the whole package is now bundled into a single Docker Image

V2

Structure of the repo and installation are now adjusted to OEX standards

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

  git clone https://github.com/rcemper/IRIS-NativeAPI-Nodejs-compact.git

Open the terminal in this directory build and run the container:

  docker-compose up -d   

How to use it

From the same terminal start the IRIS based client and prepare your orders

  docker-compose exec iris iris session iris %ZSocket

on WebTerminal it is simply

USER>do ^%ZSocket

Open a new terminal on the download directory and start the node based service

  docker-compose exec iris node /opt/irisbuild/WsockIris.js

or open a new WebTerminal to start the client

USER>write $ZF(-1,"cd /opt/irisbuild  &&  node WsockIris.js")  

The sequence of these commands is important !
Now it connects to IRIS and executes its orders

Result 1
Result 2

Article in DC

Made with
Version
2.0.305 Nov, 2023
ObjectScript quality test
Category
Technology Example
Works with
InterSystems IRIS
First published
21 Jul, 2020
Last checked by moderator
27 Jun, 2023Works