Show HN: API for CRUD-ing JSON data

github.com

2 points by tiemster 2 hours ago

For purely selfish needs, I created a self-hosted API for CRUD-ing JSON data in GO. Optimized for simplicity and interoperability. Perfect for small personal projects.

The API is based on your JSON structure. So the example below is for CRUD-ing [key1][key2] in file.json. The value (which can be anything) is then added to the body of the request. Moreover, there are helper functions for appending and incrementing values.

  DELETE/PUT/GET: /api/file/key1/key2/...
gangtao 2 hours ago

I like this idea, you can use it to build something quickly

  • tiemster 2 hours ago

    thanks! That's the exact reason I made this. Just install and go. Most database software is built for a level of scale my personal projects never reach anyways, but I do get stuck with the complexity and configuration.