A Node.js web app that uses the Watson Discovery News service to query and view the latest trending news items.
The web is home to massive amounts of data, with more being created every day. Organizations can harness this constant stream of information to gain understanding, plan strategies, and find opportunities. Enriched news data can help your application make dynamic connections across current events faster. In this exercise, you'll start with the basics and build your own news mining web application using JavaScript, Node.js, and the Watson Discovery service. In this exercise:
Optionally, you can choose to:
This code pattern shows you how to tap into massive data sets to mine insight. You'll build a news mining web application with the Watson Discovery service using the Watson Node.js SDK. The app demonstrates two use cases using Watson Discovery News:
Click on one of the options below for instructions on deploying the app.
If you see the following in the logs for a Deploy to IBM Cloud using Cloud Foundry in the Stage History
, click the Redeploy
button. This should get past the race condition during the deployment.
Binding service discovery-news-service to app sda-watson-discovery-news-9-4 in org scott.dangelo / space dev as [email protected]...
FAILED
Could not bind to service discovery-news-service
Error: Server error, status code: 409, error code: 60016, message: An operation for service instance discovery-news-service is in progress.
Finished: FAILED
The trending page:
The query page:
Here is a series of short videos that go into more of the details about the features of this code pattern.
This code pattern is licensed under the Apache License, Version 2. Separate third-party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the Developer Certificate of Origin, Version 1.1 and the Apache License, Version 2.