0.0.4 • Published 5 years ago
botbuilder-mongodb-storage v0.0.4
botbuilder-MongoDbStorage
Microsoft Bot Framework V3 Mongo Db(custom storage )
BotBuilder-MongoDB
Bot builder with Mongo Db(custom storage )
Introduction
mongodb connect to botframework stroage
Installation
npm install --save botbuilder-mongodb-storage
Code Sample
import { MongoDbStorage } from "botbuilder-mongodb-storage"
var bot = new builder.UniversalBot(connector)
.set("storage", new MongoDbStorage({
DatabaseName: "abc123456",
collectionName: "botState",
// mongoIp: "127.0.0.1",
// mongoPort: "27017",
mongoIp: "ds125578.mlab.com",
mongoPort: "255xx",
username: "myUserAdmin",
password: "testtest123"
}));
Reference Link:
https://github.com/Manacola/msbotframework-mongo-middlelayer