TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

1 pointsby deluvasabout 10 years ago
Hello HN,<p>I&#x27;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.<p>Ideally, it should:<p>* automatically build RESTful routes based on models (incl. relations), if not, make it easy for the developer to implement that<p>* use MVC concepts like controllers, filters and such<p>* support simple authorization&#x2F;authentication (i.e. acl, bearer)<p>* be flexible&#x2F;customizable (e.g. don&#x27;t force me to use Whatever_Case on my database tables and such)<p>---<p>Currently, I&#x27;m using the following, hacked together: express.js, bookshelf.js&#x2F;knex.js (models), passport.js and acl (auth). These are fine if your project is small, but when it grows, it gets <i>messy</i>.<p>So, what frameworks are <i>you</i> using?<p>---<p>*by medium-sized, I mean something like an invoice creating API

2 comments

edwardgabout 10 years ago
Don&#x27;t use it (I&#x27;m not exactly a developer) but I&#x27;ve heard good things about Hapi (<a href="http://hapijs.com/" rel="nofollow">http:&#x2F;&#x2F;hapijs.com&#x2F;</a>) may be worth checking out, I think it has most of the stuff you&#x27;re looking for.
评论 #9156535 未加载
ilovefoodabout 10 years ago
loopback io