News for hackers. Stuff that matters.
Re:Json-Base – Database built as JSON files by issa on Thursday July 02, 2020 @01:53PM (#23716017)
I don't mean this negatively, but I'm having trouble thinking of a real-world use case for this. Can anyone add some?
Re:Json-Base – Database built as JSON files by bradstewart on Thursday July 02, 2020 @02:08PM (#23716189)
Looks a bit like https://github.com/typicode/lowdb, which I've used for a few production-ish usecases in the past.

Specifically for storing the results/state of a set of manually-executed management scripts. The scripts needed to query the data from previous executions, do some stuff, and store the output. Think poor mans version of terraform.

Everything was dumped in a git repo that was shared across a few people. It was a quick and dirty solution to manage some alpha customers before the "real" system came online.

Re:Json-Base – Database built as JSON files by randtrain34 on Thursday July 02, 2020 @02:35PM (#23716475)
Yeah lowdb or even https://github.com/LokiJS-Forge/LokiDB will probably be much more performant/more featureful.
Re:Json-Base – Database built as JSON files by kutorio on Thursday July 02, 2020 @02:05PM (#23716154)
Maybe similar to things like json-server (mockup a REST api by making a few json files) which is useful during the development process?
Re:Json-Base – Database built as JSON files by slantyyz on Thursday July 02, 2020 @02:11PM (#23716224)
It's probably useful for single-user scenarios (like an Electron app) where you only need to save a minimal amount of user data.