Running a Node.js App Locally
Uploading your app to TIBCO Cloud™ Integration and running it there is great, but you probably want to test it locally as well. First you need to make sure all the dependencies that you've added are installed locally as well. Luckily with Node.js that is as easy as running the command npm install
. After that you can run node .
and you're good to go! If you're working the app from the tutorial, the output in your terminal window will look like this:
Copy
$ npm install
npm WARN hello-world-nodejs-app-1501395218703@1.0.0 No license field.
added 282 packages in 10.973s
$ node .
21:53:43.561 INFO App running on :::8000
Your app is now running locally!