/insurance-bot

A message based insurance experience

Primary LanguageJavaScriptOtherNOASSERTION

Cloud Life Insurance - Main web site and chat bot

master Build Status
dev Build Status

This repository is part of the larger Cloud Life Insurance project.

Overview

Policy Bot

Insurance Policy Bot is a collection of experimental Watson & Bluemix concepts applied to the insurance domain.

Note:

Login is in progress,

Running the app on Bluemix

<Either add a Deploy to Bluemix button or include detailed instructions on how to deploy the app(s) to Bluemix after cloning the repo. You should assume the user has little to no Bluemix experience and provide as much detail as possible in the steps.>

Coming Soon!

Sign up for Bluemix in the meantime!

<Create sub-sections to break down larger sequences of steps. General rule of thumb is that you should not have more than 9 steps in each task. Include sanity checks, or ways for the developer to confirm what they have done so far is correct, every 20 steps. Also, avoid directly referencing the Bluemix UI components so that ACE changes don't invalidate your README.>

Run the app locally

  1. Create a Compose for MongoDB service in Bluemix
cf create-service compose-for-mongodb Standard insurance-bot-db
  1. Create a Conversation service in Bluemix
cf create-service conversation standard insurance-bot-conversation
  1. In the checkout directory, copy the file vcap-local.template.json to vcap-local.json. Edit vcap-local.json and update the credentials for the MongoDB and Conversation services. You can retrieve the service credentials from the Bluemix console.
cp vcap-local.template.json vcap-local.json
  1. In the checkout directory, copy the file .template.env to .env. Edit .env and update the credentials for the MongoDB and Conversation services.
cp .template.env .env
  1. Run
npm install
  1. Run
npm start

API documentation

The API methods that this component exposes requires the discovery of dependent services, however, the API will gracefully fail when they are not available.

The API and data models are defined in ...

Contribute

Please check out our Contributing Guidelinesfor detailed information on how you can lend a hand.

Troubleshooting

The primary source of debugging information for your Bluemix app is the logs. To see them, run the following command using the Cloud Foundry CLI:

$ cf logs cloudco --recent

For more detailed information on troubleshooting your application, see the Troubleshooting section in the Bluemix documentation.

License

See License.txt for license information.