Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: What framework/libs are you using for building RESTish APIs in Node.js?
1 point by deluvas on March 6, 2015 | hide | past | favorite | 3 comments
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




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.


That's one of the frameworks I haven't tried yet. Will try it, thx.


loopback io




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: