You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Dev |[](https://travis.ibm.com/Watson/watson-conversation-demo-redesign)||
9
-
10
-
This is the repository for an updated Watson Assistant demo, which is intended to be embedded directly within IBM.com on the Assistant service page. It runs on `bluemix.net` and will be `<iframe>`'d into the service page.
11
-
12
-
### Codebase Structure
13
-
14
-
```s
15
-
Root
16
-
/src
17
-
index.js (React frontend index)
18
-
/components
19
-
/ExampleComponentDirectory
20
-
ExampleComponent.js
21
-
ExampleComponent.test.js
22
-
/public
23
-
index.html (served at the root route)
24
-
/styles
25
-
duo-grid.min.css (Duo grid styles)
26
-
/js
27
-
bundle.js (imports the root react component)
28
-
/config
29
-
Configuration files for Express backend
30
-
/test
31
-
Backend unit and integration tests
32
-
index.js (express backend)
33
-
server.js (main backend entry point)
34
-
.config files
35
-
package.json
36
-
```
37
-
38
-
### How to run application
39
-
40
-
To run the application, you need to:
41
-
42
-
-`git clone` the repo
43
-
44
-
-`npm i` to install the dependencies
45
-
46
-
- Create an `.env` file with valid Assistant credentialss
47
-
48
-
-`npm start` to launch the server at `localhost:3000`
0 commit comments