WatsonQA is an application that allows users to ask Watson a question pertaining to travel and receive a response in natural language.
The Node.js application has files as below:
-
app.js
This file contains the server side JavaScript code for the application written in Node JS.
-
package.json
This file is required by the Node.js environment. It specifies the Node.js project name, dependencies, and other configurations for the application.
-
public/
This directory contains public resources of the application. It contains the CSS and HTML resources. It is required by the express framework in this sample application.
-
AI/
This directory contains JS resources that enable communication with our simple and watson AI.