Skip to content

Simple hello world code to show a Node.js connection to InterSystems IRIS

License

Notifications You must be signed in to change notification settings

intersystems/Samples-nodejs-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Samples-nodejs-helloworld

This is a simple hello world example to show a Node.js connection to InterSystems IRIS.

To run in InterSystems Learning Labs, AWS, GCP, or Azure

  1. Open Samples-nodejs-helloworld/HelloWorld.js

  2. For AWS, GCP, or Azure ONLY: Edit line 7 and change the value of ip to "try-iris" (Please skip this step if using InterSystems Learning Labs)

  3. In the integrated terminal window, type:

    • cd /home/project/Samples-nodejs-helloworld
    • npm install intersystems-iris-native
    • node HelloWorld.js

To run locally

  1. Clone this repo and open it in your favorite IDE (such as Visual Studio Code)

  2. Open Samples-nodejs-helloworld/HelloWorld.js

  3. Verify the values for host, port, username, and password. Update as needed.

  4. In the integrated terminal window, navigate to your repository's home directory and type:

    • npm install intersystems-iris-native
    • node HelloWorld.js

About

Simple hello world code to show a Node.js connection to InterSystems IRIS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •