I use hapijs to serve my API. It's pretty great, but doesn't have an ORM. The tools from walmartlabs are pretty great all around.
One thing I've found in Node.js is that ORM options are kind of slim. There's some decent ones (waterline / sails and bookshelfjs are both pretty cool) but they're not as full-featured as what you might be used to coming from a rails or j2ee background. Of course, it's a younger technology, and there's big contributions made every day. That said, I use bookshelfjs. It's straightforward and clean, works with promises, and the backing SQL library (knexjs) is also really good. When there's some complexity that bookshelf doesn't support out of the box, it's easy enough to extend. As an example, I have a complicated role / ACL permission system on object access, so I built that part myself. AFAIK, there's no oracle connector for bookshelf (or sails for that matter). I use postgres, which I'm happy with, but I have a small enough project (~500 users, < 1M rows) that I could probably even get away with sqlite or something. Still, I do love the notify system in postgres- I wired that in to socket.io to do real-time push notifications when data models change, driven from the database itself rather than pre/post update hooks in the ORM. e On Wed, Aug 27, 2014 at 8:56 AM, Mark Volkmann <[email protected]> wrote: > Jeff Barczewski would recommend hapi - http://hapijs.com/. > I haven't used it yet, but it looks good. > > > On Wed, Aug 27, 2014 at 7:41 AM, Kyle Cordes <[email protected] > > wrote: > >> On Tuesday, August 26, 2014 7:26:15 AM UTC-5, Alexandre Tiertant wrote: >>> >>> hi, >>> >>> we use a java server to interact with oracle database and angularjs >>> frontend on a websocket that we want to recode it using node.js >>> we need oracle database but we would like use and an orm to support >>> other database too. >>> >>> which node.js framework do you think we should use? >>> >>> >> I have a similar question, and if anyone could point over to something in >> the Node community where people are discussing tool stacks which bring many >> of the same things to the table as (for example) Java + Spring + Jersey + >> Jackson + validators + hibernate + etc, that will be very helpful. >> Substitute your own preferred stack, I'm not looking to start a banter >> about which set of Java tools is best, I just made one example above. I >> know there are a lot of Node tools out there, the sheer size of NPM his >> impressive, I'm hoping to find some discussion of which ones are really >> ready for prime time in which try to solve a big stack of the needs >> together. notwithstanding the question of whether node is a great idea or >> not, I would love to have an answer for people when they ask me, "I am >> using Node, which stuff should I used to most effectively to build a data >> centric backend behind my AngularJS app?". >> >> >> -- >> Kyle Cordes >> http://kylecordes.com >> >> >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "AngularJS" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > R. Mark Volkmann > Object Computing, Inc. > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
