Settings

Theme

Ask HN: What framework/libs are you using for building RESTish APIs in Node.js?

1 points by deluvas 11 years ago · 3 comments · 1 min read


Hello HN,

I'm looking for a suitable framework for building medium-sized* Node.js APIs and I want to know what you are using or would recommend.

Ideally, it should:

* automatically build RESTful routes based on models (incl. relations), if not, make it easy for the developer to implement that

* use MVC concepts like controllers, filters and such

* support simple authorization/authentication (i.e. acl, bearer)

* be flexible/customizable (e.g. don't force me to use Whatever_Case on my database tables and such)

---

Currently, I'm using the following, hacked together: express.js, bookshelf.js/knex.js (models), passport.js and acl (auth). These are fine if your project is small, but when it grows, it gets messy.

So, what frameworks are you using?

---

*by medium-sized, I mean something like an invoice creating API

edwardg 11 years ago

Don't use it (I'm not exactly a developer) but I've heard good things about Hapi (http://hapijs.com/) may be worth checking out, I think it has most of the stuff you're looking for.

ilovefood 11 years ago

loopback io

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection