hello-world-js

Simple Sequence that prints out 'Hello World!' to the Instance output.

Description

  • Name: @scramjet/hello-world-js
  • Version: 0.0.1
  • Language: javascript
  • Author: a-tylenda
  • Tags: sample,easy,streaming,Data Producer

Simple sequence that outputs "Hello world" written in javascript.

Running

❗ Remember to setup transform-hub locally or use the platform's environment for the sequence deployment.

Open two terminals and run the following commands:

The first terminal:

# go to 'hello-world-js' directory cd javascript/hello-world-js # install node_modules npm install # go back to javascript/ directory cd ../ # deploy 'hello-world-js' Sequence si seq deploy hello-world-js

The second terminal

Read the Instance output:

si inst output -

You should see "Hello World!" printed out in the terminal.