IBM-Cloud / insurance-bot

A message based insurance experience
http://cloudco.mybluemix.net
Other
36 stars 57 forks source link

Add a database and link it to app.js #11

Closed antonmc closed 8 years ago

antonmc commented 8 years ago

My preference for this remains Mongo, but I accept the decision to work with Cloudant. The important thing is to establish this as soon as possible.

VidyasagarMSC commented 8 years ago

I have created a Cloudant DB called "insurance" and added the insurance.JSON created earlier. Working on the app.js linking now.

VidyasagarMSC commented 8 years ago

Insurance cloudant DB is created and JSON document with sample insurance data is created | NodeJS app (app.js) is linked to cloudant DB.

The updated code is sitting under this repo. Pls. verify. Once we are good, will make a pull request to merge with the main branch. https://github.com/VidyasagarMSC/insurance-bot