botbuilder-mongodb-storage

0.0.4 • Public • Published

botbuilder-MongoDbStorage

Microsoft Bot Framework V3 Mongo Db(custom storage ) npm version dependencies Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i botbuilder-mongodb-storage

Weekly Downloads

0

Version

0.0.4

License

none

Unpacked Size

37.3 kB

Total Files

9

Last publish

Collaborators

  • wolkesau