Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving Data in Mongo? #127

Closed
tdelam opened this issue May 3, 2018 · 4 comments
Closed

Saving Data in Mongo? #127

tdelam opened this issue May 3, 2018 · 4 comments

Comments

@tdelam
Copy link

tdelam commented May 3, 2018

Hi,

Are there any examples or documentation as to how to save responses into mongo?

@Azique
Copy link

Azique commented May 4, 2018

Hi, could you provide a bit more details about what you're trying to accomplish?
Since in general storing a sting (array of strings) in mongo is pretty straightforward my guess is that it's not what you're looking for

@mraaroncruz
Copy link
Collaborator

@tdelam how do you normally store things in Mongo?

@tdelam
Copy link
Author

tdelam commented May 4, 2018

Sorry, yah storing is simple but I mean... I am looking for a concept like a middleware. I didn't see anything about middleware in the docs so I am guessing this is not a thing with bootbot?

@mraaroncruz
Copy link
Collaborator

Bootbot runs on top of express. You can access the express app via:

const bot = new Bootbot({args});
const expressApp = bot.app;

There are a couple middleware related PR's too. Maybe some of the discussion can help.
#104
#107

@tdelam tdelam closed this as completed May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants