HackerHappyHour / impact

Org friendly chat
MIT License
1 stars 0 forks source link

install rethink middleware for hapi server #8

Open LongLiveCHIEF opened 8 years ago

LongLiveCHIEF commented 8 years ago

install rethink connector for hapi server, (setup in #7)

geekytime commented 8 years ago

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? :stuck_out_tongue_winking_eye:

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 8 years ago

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.