Skip to content

tauheedkhan/chatbot-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate for Watson assistant chatbot

Boilerplate contains a light weight client and server. No setup required, just make changes in env file and your chat bot is up and running.

Prequisities

  • Create a Bluemix account
  • Create watson assistant workflow on bluemix

Setup

  • Provision an instance of Watson Assistant on bluemix
  • Create a new conversation workspace
  • Install client and server dependencies
  • Update the env file with your workspace ID and watson assistance api credentials.
WATSON_ASSISTANT_USERNAME=<WATSON_ASSISTANT_USERNAME>
WATSON_ASSISTANT_PASSWORD=<WATSON_ASSISTANT_PASSWORD>
WATSON_ASSISTANT_WORKSPACE_ID=<WATSON_ASSISTANT_WORKSPACE_ID>

Server

Install server dependencies

npm install

Client

Install client dependencies

cd client
npm install

Build / Run (Development)

Build / Run (Production)

cd client
npm run build
cd ..
npm start

Navigate to http://localhost:3000

About

Bolierplate for Watson based chatbot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published