api.webmaker.org icon indicating copy to clipboard operation
api.webmaker.org copied to clipboard

Consider using Bookshelf.js

Open cadecairos opened this issue 11 years ago • 1 comments

I had a chat with @ashleygwilliams about or DB strategy and how we can improve our situation here. She has suggested using bookshelf. Bookshelf appears to provide all we want: control over queries (via knex), transactions, connection pooling, and migrations

it's probably also a lot nicer on contributors over raw sql

cc/ @simonwex

cadecairos avatar Jun 08 '15 20:06 cadecairos

:raised_hands: i have implemented the publish.webmaker.org API using it. see this PR for the knex implementation. will add the bookshelf stuff in a following pr.

ashleygwilliams avatar Jun 09 '15 00:06 ashleygwilliams