node.js and Domino – Part 1

With the recent announcement of upcoming node support for Domino, I think we need to start looking into what it takes to get into node.js development. The truth of the matter is, it’s not really that difficult. To start with you need to install node.js. Then find a decent editor (I recommend Visual Studio Code).

Once you’ve got these things, create a new project directory somewhere (I’m gonna use hello-world). Now, fire up your editor and point it to your hello-world folder.

Create a new file, we’ll call it hello-world.js and open it in your editor.

Next we’ll just add some code to this file:

let hello = {
    label: 'Hello',
    value: 'World'
console.log('Hello-World', hello);

Within your editor press ctrl+~ and this should open the embedded terminal. Place your cursor within the terminal and type node hello-world.js and you should see the following printed out.

That’s it for this part. In the next post we’ll take this a little farther and use some modules and make a proper node package. Until then, Happy Coding!

Part 2 – node.js and Domino

Share This: