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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Express-like web server in a single file for node / good for learning

1 点作者 __app_dev__超过 5 年前

1 comment

__app_dev__超过 5 年前
In case you see this and are wondering why?<p>Basically Unit Tested and Demos pages needed a Web Server and originally I was using PHP. But of course I didn’t want to publish a npm&#x2F;js project that needs PHP.<p>I could have simply used express but at the time was developing the project on multiple computers so having a zero dependency express-like web server allowed the project to remain small and very quick to copy.