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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Using JSON files instead of a database

4 点作者 Sujeto将近 2 年前

2 条评论

accrual将近 2 年前
I like this idea. I&#x27;ve also written a couple of chat apps over the years and converged on a JSON flat-file for storing data as well. I believe I used node-json-db [0] as a wrapper on top of the file, though it&#x27;s pretty cool this author seems to have written their own from scratch. I think this is an excellent solution for projects like these.<p><a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;node-json-db" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;node-json-db</a>
senttoschool将近 2 年前
It&#x27;s not better. It&#x27;s just different.<p>I think SQLite would have been a more practical choice.