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

DB agnostic or rethinkDB support #21

Open
carlditzler opened this issue Jul 9, 2016 · 5 comments
Open

DB agnostic or rethinkDB support #21

carlditzler opened this issue Jul 9, 2016 · 5 comments
Labels

Comments

@carlditzler
Copy link

rfx-stack requires mongoose, and I am using feathers-rethinkdb; prefer a single DB. Enhancement supporting a flexible DB or add'l DBs would extend rfx-stack and reduce dependencies. Thanks

@foxhound87
Copy link
Owner

foxhound87 commented Jul 10, 2016

I used mongo as demo. Because Feathers already supports more dbs out of the box you can change the implementation easly. For example, If you want to use rethinkdb, remove all the mongo dependencies first, then:

You should remove the models because rethinkdbdash doesn't support a model schema.
Consider using something like thinky if you want models: https://thinky.io

I will create a detailed guide.

You can follow the feathers database doc for more info on how to implement rethinkdb: http://docs.feathersjs.com/databases/rethinkdb.html

@briandpassa
Copy link

A detailed guide will be great. Thank you! 💃

@mishoboss
Copy link

+1 for DB agnostic solution guide. Personally I would like to use this stack with NeDB (as it is a pure JS solution and no binaries required) and I'm stuck now understanding all the mongo dependencies implemented.

@chriswessels
Copy link

+1. The example should include minimal dependencies, so I'd go with NeDB. It sucks having to strip out Mongo.

@Weifeng-Ying
Copy link

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

No branches or pull requests

6 participants