Node.js Prerequisites
The following prerequisites are required before getting started:
- You need an account for TIBCO Cloud™ Integration to be able to push the apps to the runtime as well as be able to download the generated code for your API. If you don't have an account yet, you can sign up here.
- The plan you purchased for your account must entitle you to create Node.js apps. Otherwise, any commands related to Node.js apps will be disabled.
-
The next step is to download the TIBCO Cloud™ - Command Line Interface, which we'll call
tibcli
. After logging in to TIBCO Cloud Integration, select Environment & Tools from the top navigation bar, and below Tool Downloads, click TIBCO® Cloud - Command Line Interface and download the version for your Operating System. The downloadedtibcli
binary is already preconfigured with your username, you only have to provide your password. Start a Command Prompt or Terminal window and log in using the password for your TIBCO Account:
Copy$ tibcli login
Username: some@example.com
Password:
User logged in successfully
-
When building out these tutorials you'll need at least Node.js version 4 or higher. When you push your apps, they'll run on a Node 12.13 runtime. You can check which version you have with the following command:
$ node -v v12.13
-
For the second part of the tutorial, we'll use Visual Studio Code from Microsoft together with the
tci-tools
extension that TIBCO has created. You can download the extension from GitHub.