Hi all. I made a self-hosted API for CRUD-ing JSON files. Built for data storage in small personal projects, or mocking an API for development. Advantages are simplicity, interoperability and performance (using the cache system).
API is based on your JSON structure. So the example below is for CRUD-ing [geralt][city] in file.json. The value (which can be anything) is then added to the body of the request. For me, it has been really flexible and useful, so I want to share it and collect feedback!
atzanteol@sh.itjust.works 1 day ago
I think you should make it more clear in your docs that this is wildly insecure and should be restricted to “tinkering” usage only.
That said it seems like a fun project to write.
non_burglar@lemmy.world 1 day ago
Many api implementations are bare http because security is expected to be handled / wrapped by another technology.
atzanteol@sh.itjust.works 1 day ago
“Security” is not just “ssl”…
LaVillaStrangiato@infosec.pub 1 day ago
Thanks for checking my project out. In the readme I state it’s for ‘small personal projects’ where you want to get something quickly. However, “widly insecure” seems a bit much? If you use it for storing data that has no privacy (like blog posts, and their comments)?