Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Database #15

Open
kevincharm opened this issue Dec 1, 2015 · 3 comments
Open

Database #15

kevincharm opened this issue Dec 1, 2015 · 3 comments

Comments

@kevincharm
Copy link
Contributor

We'll need to decide on which DB we want to use before we get into more complex features like #1, #3. I've been working with MongoDB for the past year but I would love to check out RethinkDB. Any other DBs people keen to work with?

@luke-john
Copy link
Member

I'm a huge fan of rethinkdb. However having a database dependency decreases the accessibility of a project fairly significantly.

If we did use one, I'd recommend something like nedb for local development.

It's API is a subset of MongoDB's so we could toggle based on environment.

if (process.env.MONGOURL) {
 // use mongo
} else {
  // use nedb
}

@kevincharm
Copy link
Contributor Author

Great idea. Maybe we can just use nedb to simplify the project?

@karlbright
Copy link
Contributor

So the bot is now up and running via Heroku(sleepless) and is using redis store for the botkit storage. I'm not sure we want to use redis for our persistent storage, but i'm placing this here for documentation purposes 👌

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants