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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What's an example of a good Express backend?

2 点作者 hahnbee超过 2 年前
I consider myself a stronger frontend developer than a backend one. I want to learn what the best file structure is for an Express backend. Do you guys have any good source available examples?

2 条评论

revskill超过 2 年前
There&#x27;s no &quot;best&quot; ones. But there&#x27;s guiding principles to help you achieve one.<p>It&#x27;s Clean Architecture, or Hexagon Architecture.<p>The idea is, the business layer dependencies is just interfaces. So you can easily mock in test.
评论 #33797431 未加载
bradwood超过 2 年前
Check out Nest JS. It&#x27;s an opinionated overlay on Express which might be helpful as good for thought.
评论 #33805444 未加载