· Dec 29, 2021

Exploring Native API for Node.js confusing documentation do not know where to create new directory

I am a newbie who is trying to learn how to set up a basic connection to Iris using a node js application. I am astounded at the lack of documentation there is on how to do this and even more concerning there are a few errors within the documentation. For example I am on the Native API application within the below link.

And it says that you need to create a directory the thing is that it doesn't state which directory this needs to be or any other history. When you create the directory it says you can run the exercise and there are no instructions on how to do this. 

Does anyone have any ODBC connectors / Iris documentation for node js  that can be easily followed ? Or is this ODBC connector thing a beta or an experimental piece of software that is not used....

Kind Regards

Product version: IRIS 2021.1
Discussion (5)1
Log in or sign up to continue

If you're wanting to use IRIS with Node.js, you might want to also look at QEWD.  Rather than using the IRIS Native Node.js APIs, it uses the alternative Open Source mg_dbx interface and its APIs (, and QEWD creates an architecture that allows the synchronous APIs to be used safely (via a queue/dispatch architecture which gives QEWD its name).  With QEWD and the mg-dbx interface, you can run Node.js on either the same machine/system as IRIS, or on separate machines/systems via a networked connection, and you can run QEWD either as a native installation or you can use a pre-built/configured Dockerised version, so it's extremely flexible.

QEWD can be used to develop both Node.js REST services and interactive web applications, the latter connecting users' browsers and your back-end over WebSockets.  QEWD does all the tricky technical work for you, leaving you to just focus on your application or API functionality.

Here's a few ways to get started with QEWD:


Using Dockerised IRIS:

Networked connection between QEWD/Node.js and IRIS:

Although it allows use of IRIS via its standard Object and SQL architecture, and APIs QEWD can also abstract the IRIS database as persistent JavaScript Objects/JSON, which allows you to access and use an IRIS database in a completely unique and powerful way that makes it a natural fit with JavaScript.  To explore this aspect of QEWD with IRIS, check out:

These repositories and the documentation/examples/tutorials they contain should get you started