TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 deluvas大约 10 年前
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 条评论

edwardg大约 10 年前
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 未加载
ilovefood大约 10 年前
loopback io