install rethink middleware for hapi server
Opened this issue · 2 comments
LongLiveCHIEF commented
install rethink connector for hapi server, (setup in #7)
geekytime commented
Is this hapi-rethinkdb what you're talking about?
What does that offer besides a rather inconvenient way of accessing the rethink API from a place where we don't ever want to access the rethink API? 😜
Our routes shouldn't talk to the DB directly, right? We should have API functions that the routes can call?
Unless it does some kind of connection pooling or something, I struggle to see how this is helpful...
LongLiveCHIEF commented
This issue was to track the work, and decide on the approach/tooling. So wasn't talking about a specific module when I created the issue. I have seen hapi-rethink, but not had a chance to really look at what it can do for us yet.