In this developer journey, we will create an app that compares personality traits of characters from the musical 'Hamilton' using Watson Personality Insights, Node JS, HTML, JS and CSS.
When the reader has completed this journey, they will understand how to:
- Call Watson Personality Insights API using Node JS
- Develop a system to graphically compare Watson PI Data
- Deploy the system to Cloud Foundry or Kubernetes
- Step 2.
- Step 3.
- Step 4.
- Step 5.
Want to take your Watson app to the next level? Looking to leverage Watson Brand assets? Join the With Watson program which provides exclusive brand, marketing, and tech resources to amplify and accelerate your Watson embedded commercial solution.
Select components from here, copy and paste the raw text for ease
Select components from here, copy and paste the raw text for ease
- Technology: description
- Technology: description
Use the Deploy to Bluemix
button OR create the services and run locally.
-
Press the above
Deploy to Bluemix
button and then click onDeploy
. -
In Toolchains, click on Delivery Pipeline to watch while the app is deployed. Once deployed, the app can be viewed by clicking 'View app'.
NOTE: These steps are only needed when running locally instead of using the
Deploy to Bluemix
button.
- Clone the repo
- Create Watson services with IBM Bluemix
- Import the Conversation workspace
- Load the Discovery documents
- Configure credentials
- Run the application
If using the Deploy to Bluemix
button some metrics are tracked, the following
information is sent to a Deployment Tracker service
on each deployment:
- Node.js package version
- Node.js repository URL
- Application Name (
application_name
) - Application GUID (
application_id
) - Application instance index number (
instance_index
) - Space ID (
space_id
) - Application Version (
application_version
) - Application URIs (
application_uris
) - Labels of bound services
- Number of instances for each bound service and associated plan information
This data is collected from the package.json
file in the sample application and the VCAP_APPLICATION
and VCAP_SERVICES
environment variables in IBM Bluemix and other Cloud Foundry platforms. This data is used by IBM to track metrics around deployments of sample applications to IBM Bluemix to measure the usefulness of our examples, so that we can continuously improve the content we offer to you. Only deployments of sample applications that include code to ping the Deployment Tracker service will be tracked.
To disable tracking, simply remove require("cf-deployment-tracker-client").track();
from the app.js
file in the top level directory.